MattToegel / IT490

Samples for Systems Integration Class
4 stars 37 forks source link

[Mod 10] Contributions - Applying Admin access to previous functionality #42

Closed DanielHuysers closed 3 months ago

DanielHuysers commented 3 months ago

I went back to all previous code in relation to Librarian and Forum Mod roles to also allow the admin to access them. This was done by simply adding a OR operator when checking for the roles of the user. In doing this, we were able to reuse previous code and not have to create separate functionalities that do the exact same thing.