List of usage examples for com.liferay.portal.kernel.security.permission ActionKeys ADD_TAG
String ADD_TAG
To view the source code for com.liferay.portal.kernel.security.permission ActionKeys ADD_TAG.
Click Source Link
From source file:com.liferay.asset.tags.admin.web.internal.display.context.AssetTagsDisplayContext.java
License:Open Source License
public boolean isShowAddButton() { ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY); if (AssetTagsPermission.contains(themeDisplay.getPermissionChecker(), AssetTagsPermission.RESOURCE_NAME, AssetTagsAdminPortletKeys.ASSET_TAGS_ADMIN, themeDisplay.getSiteGroupId(), ActionKeys.ADD_TAG)) { return true; }/*from ww w . ja v a2 s. c om*/ return false; }