website/web/templates
Noah Petherbridge 47aaf15078 Admin Groups & Permissions
Add a permission system for admin users so you can lock down specific admins to
a narrower set of features instead of them all having omnipotent powers.

* New page: Admin Dashboard -> Admin Permissions Management
* Permissions are handled in the form of 'scopes' relevant to each feature or
  action on the site. Scopes are assigned to Groups, and in turn, admin user
  accounts are placed in those Groups.
* The Superusers group (scope '*') has wildcard permission to all scopes. The
  permissions dashboard has a create-once action to initialize the Superusers
  for the first admin who clicks on it, and places that admin in the group.

The following are the exhaustive list of permission changes on the site:

* Moderator scopes:
    * Chat room (enter the room with Operator permission)
    * Forums (can edit or delete user posts on the forum)
    * Photo Gallery (can see all private/friends-only photos on the site
      gallery or user profile pages)
* Certification photos (with nuanced sub-action permissions)
    * Approve: has access to the Pending tab to act on incoming pictures
    * List: can paginate thru past approved/rejected photos
    * View: can bring up specific user cert photo from their profile
    * The minimum requirement is Approve or else no cert photo page
      will load for your admin user.
* User Actions (each action individually scoped)
    * Impersonate
    * Ban
    * Delete
    * Promote to admin
* Inner circle whitelist: no longer are admins automatically part of the
  inner circle unless they have a specialized scope attached.

The AdminRequired decorator may also apply scopes on an entire admin route.
The following routes have scopes to limit them:

* Forum Admin (manage forums and their settings)
* Remove from inner circle
2023-08-01 20:39:48 -07:00
..
account Admin certification page improvements 2023-07-31 20:03:21 -07:00
admin Admin Groups & Permissions 2023-08-01 20:39:48 -07:00
comment Chat launch page for BareRTC 2023-02-05 20:26:36 -08:00
email Add Admin Guidelines to dashboard 2022-12-24 23:00:59 -08:00
errors Geo-gating on signup 2023-06-24 15:39:45 -07:00
forum Pager on bottom of forum thread views too 2023-07-23 16:37:11 -07:00
friend Spit and polish 2023-06-21 20:46:27 -07:00
inbox Various small website tweaks 2023-07-27 20:19:50 -07:00
partials Spit and polish 2023-06-21 20:46:27 -07:00
photo Admin Groups & Permissions 2023-08-01 20:39:48 -07:00
about.html Typos 2023-06-27 09:02:44 -07:00
base.html Update the About, Features and FAQ pages 2023-06-26 23:29:05 -07:00
chat.html Better chat stats on landing page 2023-06-10 13:25:06 -07:00
contact.html Disable contact form for logged-out users due to spam 2023-02-21 11:45:26 -08:00
faq.html Update the About, Features and FAQ pages 2023-06-26 23:29:05 -07:00
features.html Update the About, Features and FAQ pages 2023-06-26 23:29:05 -07:00
index.html Various small website tweaks 2023-07-27 20:19:50 -07:00
markdown.html Chat launch page for BareRTC 2023-02-05 20:26:36 -08:00
privacy.html Update privacy policy 2023-07-27 22:45:55 -07:00
tos.html Privacy Policy & TOS Updates 2023-07-27 20:19:37 -07:00