MAKENTNU / web

The website of the student organization MAKE NTNU, built with Django.
https://makentnu.no
MIT License
9 stars 5 forks source link

Add ability to make secrets only visible to certain committees / groups / people with some specific permissions #542

Closed ddabble closed 1 year ago

ddabble commented 1 year ago

[Originally created on the "Dev-Web" Trello board, by @ddabble on January 14, 2021]

This should probably not be solved by tying them to Committee or Group instances, but to specific permissions - which is how most of Django's and our code work.

One possibility is to implement something similar to ContentBox.extra_change_permissions. Another is to use django-authority.