teragrep / zep_01

0 stars 0 forks source link

Separate users and roles within checkPermissions #32

Open Laukkala opened 1 month ago

Laukkala commented 1 month ago

Combining users and roles can cause problems with permission management when there's overlap between their names. Separating these should solve these issues

Laukkala commented 1 month ago

Users and roles cannot be separated only within checkPermissions method, as it is comparing against a set of Strings in NoteAuth. Resolving this issue requires refactoring of NoteAuth object to also discriminate between users and roles