Permission System #61

Closed
opened 2021-09-09 10:50:34 +02:00 by BodgeMaster · 1 comment

We need a permission system that keeps track of the following:

  • user groups
    • special group for all users that contains all accounts
    • special group for everyone that contains everyone including users who have never logged in (this will allow public threads for users who don’t have an account)
    • special group for nobody to make sure nobody ever gets a specific permission even if they have it
  • perms (can be given to individuals or groups)
    • create, show, manage, moderate board
      • create = create boards, also allows to remove own boards and transfer ownership
      • show = see threads
      • manage = edit settings, ban users from the board, etc
      • moderate = lock, delete, hide or quarantine threads, also gives moderate thread permission for all threads on this board
        • hide = visible only to a selection of ppl who interacted with it, users who can see the thread can still interact with it and are aware that it has been hidden
        • quarantine = hidden but it appears as normal to a selection of ppl who interacted with it, ppl who can see it can still post but they will never see new posts made by others after the thread was quarantined
    • create, show, post, edit, manage, moderate thread
      • create = create threads, also allows to delete own threads
      • show = read a given tread
      • post = can post to a given thread
      • edit = edit or delete own posts
      • manage = edit title etc
      • moderate = hide, censor, delete, messages
    • administrate, manage users, manage groups
      • administrate = basically a moderator on all boards and threads, can also remove boards, can also manage users and groups and take ownership of boards and groups, overrides nobody group
      • manage users = ban users, change privileges and groups
      • manage groups = can create and delete own groups, can add and remove users to/from groups
We need a permission system that keeps track of the following: - user groups - special group for all users that contains all accounts - special group for everyone that contains everyone including users who have never logged in (this will allow public threads for users who don’t have an account) - special group for nobody to make sure nobody ever gets a specific permission even if they have it - perms (can be given to individuals or groups) - create, show, manage, moderate board - create = create boards, also allows to remove own boards and transfer ownership - show = see threads - manage = edit settings, ban users from the board, etc - moderate = lock, delete, hide or quarantine threads, also gives moderate thread permission for all threads on this board - hide = visible only to a selection of ppl who interacted with it, users who can see the thread can still interact with it and are aware that it has been hidden - quarantine = hidden but it appears as normal to a selection of ppl who interacted with it, ppl who can see it can still post but they will never see new posts made by others after the thread was quarantined - create, show, post, edit, manage, moderate thread - create = create threads, also allows to delete own threads - show = read a given tread - post = can post to a given thread - edit = edit or delete own posts - manage = edit title etc - moderate = hide, censor, delete, messages - administrate, manage users, manage groups - administrate = basically a moderator on all boards and threads, can also remove boards, can also manage users and groups and take ownership of boards and groups, overrides nobody group - manage users = ban users, change privileges and groups - manage groups = can create and delete own groups, can add and remove users to/from groups
BodgeMaster added the
Priority: Normal
label 2021-09-09 18:36:34 +02:00
Poster
Collaborator

Closed because all old technical design is irrelevant

Closed because all old technical design is irrelevant
Sign in to join this conversation.
There is no content yet.