Signalen / backend

Backend for Signalen, an application that helps cities manage and prioritize nuisance reports.
https://signalen.org
Mozilla Public License 2.0
5 stars 5 forks source link

Add additional permissions for changing signal attributes #101

Open bartjkdp opened 3 years ago

bartjkdp commented 3 years ago

We would like to add some more permissions so we can configure access more gradually:

Some suggestions from @CBuiVNG:

Currently a user is able to do these things with one general permission sia_write.

Also we could shortly discuss the impact of both requiring sia_write and sia_signal_change_* for specific actions, as this makes the system less flexible.

Migration

We can make this change non-breaking by adding a migration that adds the specific change permissions for all users that currently have sia_write.