06-24-2017, 12:57 PM
Hello!
I want to use a menu link, and instead of hard coding the permission levels that have access to that menu link, check the file and see if that permission level is in the users? Can this be coded into a function so I don't have to write the code out everytime and just call the function with the file name I want to check?
Thank you!
I want to use a menu link, and instead of hard coding the permission levels that have access to that menu link, check the file and see if that permission level is in the users? Can this be coded into a function so I don't have to write the code out everytime and just call the function with the file name I want to check?
Thank you!