09-17-2017, 12:27 PM
Yep. That's exactly how I do it.
You don't even have to use the "userspice" page permissions. Just setup the permission levels themselves and then wrap entire php in if/else statements.
There is a description of hasPerm here...
https://userspice.com/documentation-functions/
You don't even have to use the "userspice" page permissions. Just setup the permission levels themselves and then wrap entire php in if/else statements.
There is a description of hasPerm here...
https://userspice.com/documentation-functions/