We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0652d8 commit 70c193eCopy full SHA for 70c193e
src/main/java/com/ableneo/liferay/portal/setup/core/SetupPermissions.java
@@ -41,7 +41,7 @@ public static void setupPortletPermissions(final ResourcePermissions resourcePer
41
String roleName = actionsPerRoleEntry.getKey();
42
try {
43
long companyId = SetupConfigurationThreadLocal.getRunInCompanyId();
44
- Role role = RoleLocalServiceUtil.getRole(companyId, roleName);
+ com.liferay.portal.kernel.model.Role role = RoleLocalServiceUtil.getRole(companyId, roleName);
45
long roleId = role.getRoleId();
46
final Set<String> actionStrings = actionsPerRoleEntry.getValue();
47
final String[] actionIds = actionStrings.toArray(new String[actionStrings.size()]);
0 commit comments