flex @flex

$nuxt.$auth.user.permissions.banned = true(in the javascript console)

it’s similar to the fake admin thing, and its only client-sided so have fun messing around with it

(also: admins can unban themselves which i think is neat in case they somehow ban themselves, but in my opinion it should be a separate permission like “superuser” or “superadmin” which allows them to perform more powerful actions)

flex @flex

banning yourself is fun

Mar 8, 2024, 5:02 PM
0
Mar 8, 2024, 6:53 PM
0

comments