ghedipunk (he/him/they) is a user on kitty.town. You can follow them or interact with them if you have an account anywhere in the fediverse.

Basic authentication done in my CMS for a while now.

Just got the bare basics of an authorization system in place. If a user is in the SuperUsers group, they pass every authorization test.

For non-SuperUsers, tests are done by passing a user object and the string for the permission name to the authorization object. If the user is a member of a group that has that permission, then it returns true. For instance... [continued]

ghedipunk (he/him/they) @ghedipunk

PHP code block Show more

· Web · 0 · 0

PHP code block Show more

PHP code block Show more