Skip to content

Commit

Permalink
Add story-related permissions to command module
Browse files Browse the repository at this point in the history
This commit introduces three new permissions related to stories: can_post_stories, can_edit_stories, and can_delete_stories. These changes allow finer control over which users can interact with stories in the application.
  • Loading branch information
jag-k committed May 5, 2024
1 parent 4ada631 commit a8e7d1a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def get(key: str) -> str | None:
can_promote_members=False,
can_change_info=False,
can_invite_users=False,
can_post_stories=False,
can_edit_stories=False,
can_delete_stories=False,
can_post_messages=True,
can_edit_messages=True,
)
Expand Down

0 comments on commit a8e7d1a

Please sign in to comment.