Roles/plans #7

Open
opened 2025-06-22 11:20:02 +00:00 by hex · 6 comments
Owner

We need to add user roles/plans

We need to add user roles/plans
Owner

wdym

wdym
Author
Owner

image

this. also admin/moderator roles w/ permission to like do shit yk

![image](/attachments/c977be4f-c522-4f72-bf48-6099d2272f77) this. also admin/moderator roles w/ permission to like do shit yk
Owner

being worked on now

being worked on now
Author
Owner

fire

fire
Author
Owner

Idea for roles:

  • Roles can be applied to one or more users
  • It describes the limits of those users (e.g. how much can be stored simultaneously)
  • It describes the permissions of those users (currently should only be a toggle "Administrator", in the future may be individual permissions like Discord, e.g. "Ban User" and "Delete Upload")
  • Backend comes with a default admin role that is automatically applied to everyone registering for the instance
Idea for roles: - Roles can be applied to one or more users - It describes the limits of those users (e.g. how much can be stored simultaneously) - It describes the permissions of those users (currently should only be a toggle "Administrator", in the future may be individual permissions like Discord, e.g. "Ban User" and "Delete Upload") - Backend comes with a default admin role that is automatically applied to everyone registering for the instance
Author
Owner

Also to add: A user can have more than one roles, so roles should have some kind of priority indicator (e.g. a number ranging from 1 to 100, 1 being the role taking precedence over all other roles, and 100 being the lowest role).

Store roles as some kind of array (probably impossible with sql shenanigans) or use a many-to-many relationship table.

Also to add: A user can have more than one roles, so roles should have some kind of priority indicator (e.g. a number ranging from 1 to 100, 1 being the role taking precedence over all other roles, and 100 being the lowest role). Store roles as some kind of array (probably impossible with sql shenanigans) or use a many-to-many relationship table.
Sign in to join this conversation.
No labels
Priority: HIGH
TODO
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stereo.cat/backend#7
No description provided.