panel icon indicating copy to clipboard operation
panel copied to clipboard

Admin Roles

Open Boy132 opened this issue 1 year ago • 5 comments

Uses spatie/laravel-permission to add roles and permissions (for admins). This does not change subuser permissions! (#193)

A role named "Root Admin" is created during seeding. This role has all permissions and will replace the old root_admin bool.

Example: grafik grafik

Boy132 avatar Jul 22 '24 13:07 Boy132

ewwww light modeee im jkk looks good

dbcaa avatar Jul 22 '24 21:07 dbcaa

Looks good, Seems like we will have a lot of updating to do when we add this.

Things like "restore" & "force delete" aren't useful for us.

notAreYouScared avatar Jul 31 '24 14:07 notAreYouScared

Looks good, Seems like we will have a lot of updating to do when we add this.

Yeah, we don't have any view pages for our resources. And we need to check all actions. (plus add any "special" permissions if needed)

Things like "restore" & "force delete" aren't useful for us.

True, I removed them.

Boy132 avatar Aug 01 '24 07:08 Boy132

We can still use root_admin, let's say we have a case where we have 2-3 administrators and one of them decides the invited user chooses to remove the original administrator and grief the entire panel, what do we do in that case?

alexevladgabriel avatar Aug 09 '24 18:08 alexevladgabriel

We can still use root_admin, let's say we have a case where we have 2-3 administrators and one of them decides the invited user chooses to remove the original administrator and grief the entire panel, what do we do in that case?

The same you would now, create a new admin user via artisan cli. Just having a duplicate and redundant root_admin wouldn't change that.

Boy132 avatar Aug 09 '24 18:08 Boy132