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.
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.