Module: Google::Apps::Chat::V1::Membership::MembershipRole
- Defined in:
- proto_docs/google/chat/v1/membership.rb
Overview
Represents a user's permitted actions in a Chat space. More enum values might be added in the future.
Constant Summary collapse
- MEMBERSHIP_ROLE_UNSPECIFIED =
Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).
0- ROLE_MEMBER =
A member of the space. In the Chat UI, this role is called Member.
The user has basic permissions, like sending messages to the space. Managers and owners can grant members additional permissions in a space, including:
- Add or remove members.
- Modify space details.
- Turn history on or off.
- Mention everyone in the space with
@all. - Manage Chat apps and webhooks installed in the space.
In direct messages and unnamed group conversations, everyone has this role.
1- ROLE_MANAGER =
A space owner. In the Chat UI, this role is called Owner.
The user has the complete set of space permissions to manage the space, including:
- Change the role of other members in the space to member, manager, or owner.
- Delete the space.
Only supported in SpaceType.SPACE (named spaces).
To learn more, see Learn more about your role as a space owner or manager.
2- ROLE_ASSISTANT_MANAGER =
A space manager. In the Chat UI, this role is called Manager.
The user has all basic permissions of
ROLE_MEMBER, and can be granted a subset of administrative permissions by an owner. By default, managers have all the permissions of an owner except for the ability to:- Delete the space.
- Make another space member an owner.
- Change an owner's role.
By default, managers permissions include but aren't limited to:
- Make another member a manager.
- Delete messages in the space.
- Manage space permissions.
- Receive notifications for requests to join the space if the manager has the "manage members" permission in the space settings.
- Make a space discoverable.
Only supported in SpaceType.SPACE (named spaces).
To learn more, see Manage space settings.
4