mirror of https://github.com/zulip/zulip.git
7a6135371e
This commit adds code to handle guests separately for group based settings, where guest will only have permission if that particular setting can be set to "role:everyone" group even if the guest user is part of the group which is used for that setting. This is to make sure that guests do not get permissions for actions that we generally do not want guests to have. Currently the guests do not have permission for most of them except for "Who can delete any message", where guest could delete a message if the setting was set to a user defined group with guest being its member. But this commit still update the code to use the new function for all the settings as we want to have a consistent pattern of how to check whether a user has permission for group-based settings. |
||
---|---|---|
.. | ||
__init__.py | ||
alert_words.py | ||
bots.py | ||
clients.py | ||
constants.py | ||
custom_profile_fields.py | ||
drafts.py | ||
groups.py | ||
linkifiers.py | ||
lookups.py | ||
messages.py | ||
muted_users.py | ||
onboarding_steps.py | ||
prereg_users.py | ||
presence.py | ||
push_notifications.py | ||
realm_audit_logs.py | ||
realm_emoji.py | ||
realm_playgrounds.py | ||
realms.py | ||
recipients.py | ||
scheduled_jobs.py | ||
streams.py | ||
user_activity.py | ||
user_topics.py | ||
users.py |