MarseyWorld/files/classes
Snakes 6ad935e12a Permission flags UI visibility; start PERMS dict.
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.

This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
..
__init__.py
alts.py
award.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
badges.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
clients.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
comment.py sneed 2022-07-04 05:50:01 +02:00
domains.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
exiles.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
flags.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
follows.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
lottery.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
marsey.py
mod.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
mod_logs.py show log timestamp in local timezone 2022-07-03 10:38:19 +02:00
notifications.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
polls.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
saves.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
sub.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
sub_block.py
submission.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00
subscriptions.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
user.py Permission flags UI visibility; start PERMS dict. 2022-07-06 23:45:33 -04:00
userblock.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
views.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
votes.py show timestamps in the user timezone 2022-07-03 09:41:25 +02:00