[DiscordArchive] Also they don't really need to change, so why make them dynamic?
[DiscordArchive] Also they don't really need to change, so why make them dynamic?
Archived author: Natrist • Posted: 2023-11-21T21:33:43.398000+00:00
Original source
Also they don't really need to change, so why make them dynamic?
Archived author: Natrist • Posted: 2023-11-21T21:34:22.001000+00:00
Original source
What could be cool however is having a RBAC branch.
Just kicking the bucket.
Archived author: Rymercyble • Posted: 2023-11-21T21:44:25.241000+00:00
Original source
if u would hardcode permissions like certain commands must be GM u effectly made exactly no improvement compared to how it currently is
Archived author: Nyeriah • Posted: 2023-11-21T21:45:36.210000+00:00
Original source
the point of a role based access control system is... being able to define roles
Archived author: Rymercyble • Posted: 2023-11-21T21:45:43.763000+00:00
Original source
on web u would use caching....here equivalent of cache is just loading all rules at start
Archived author: Rymercyble • Posted: 2023-11-21T21:46:07.415000+00:00
Original source
and after initial load unless u want to reload there is no performance drawback
Archived author: Rymercyble • Posted: 2023-11-21T21:50:51.842000+00:00
Original source
i didnt check how it was done in that PR but i would expect something like u define roles and u assign them specific commands therefore there wouldnt be any permissions and commands itself would be kind of "permission" compared to standard model
Archived author: Nyeriah • Posted: 2023-11-21T21:51:15.859000+00:00
Original source
no, that's wrong
Archived author: Nyeriah • Posted: 2023-11-21T21:51:29.369000+00:00
Original source
you have GM levels, roles, and permissions
Archived author: Nyeriah • Posted: 2023-11-21T21:51:34.195000+00:00
Original source
Roles are a set of permissions