Basic Permissions and Privileges
Not all applications would require the usage of ACLs to finely tune the permission model for each of the entities in their application. At a default level, the ACLs are defined on each entity within your mitter.io application such that a basic permission model is provided in terms of access and grants to an acting user.
Throughout the document we have covered the permissibiltiy of each operation depending on the actor and this page merely collects all that information in one place. In this document .system referes to the user that is resolved when accessing the APIs using an application access key/secret.
Channel
For a channel:
Creating
Any
authenticated usercan create a channel.systemcan create a channel
Deletion
Only
.systemcan delete a channel
Adding a participant
Any
authenticated useradd themselves to a channel.systemcan add any user to any channel
Removing a participant
Any
authenticated usercan remove themselves from a channel..systemcan remove any participant from any channel
Getting a list of participants
Any
participantof a channel can get a list of all participants in that channel..systemcan get all participants for any channel.
Getting a channel object
Any
participantof a channel can access the channel object..systemcan get the channel object for any channel.
Message
For a message:
Sending
Any
participantof a channel can send a message to a that channel with themselves as the sender..systemcan send a message to any channel with any user as the sender.
Reading
Any
participantof a channel can read and will receive all messages that are sent to a channel..systemcan read any message on any channel, but it won'treceiveany messages as.systemcannot assign delivery endpoints to itself.
Deleting
Any
authenticated usercan delete a message that was sent by them..systemcan delete any message.
User Operations
Creating
Only
.systemcan create users
Authentication
Only
.systemcan get tokens issued, revoked or listed for any user, except itself.Any
authenticated usercan get additional tokens for themselves.Any
authenticated usercan revoke any token that has been issued to them.Any
authenticated useran list all token ids for tokens that have been issued to them.
Deletion
Only
.systemcan delete users.
Metadata
Any
authenticated usercan fetch or patch metadata for themselves..systemcan fetch and patch metadata for any user, except itself.
Last updated