![]() The above check returns false only, if I pass a permission which does not exist in my configuration itself. However, it always returns me true even though I pass SEARCH_BUTTON permisison in above check. I tried access check with this below code. How do I check in my jsp or java, if the logged in user has SAVE_BUTTON permission. I have also assigned the SAVE_BUTTON permission to one of the user role say (TEST_ADMIN is my role). ![]() I can see the above permissions in permissions tab in portal under my portlet. I have configured the permissions in xml file as below using the reference from There are certain features like showing a save button for certain users only based on custom permissions defined in liferay. I have a web application hosted on liferay portal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |