Skip to content

Commit 70c193e

Browse files
authored
Update SetupPermissions.java
1 parent b0652d8 commit 70c193e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ableneo/liferay/portal/setup/core/SetupPermissions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void setupPortletPermissions(final ResourcePermissions resourcePer
4141
String roleName = actionsPerRoleEntry.getKey();
4242
try {
4343
long companyId = SetupConfigurationThreadLocal.getRunInCompanyId();
44-
Role role = RoleLocalServiceUtil.getRole(companyId, roleName);
44+
com.liferay.portal.kernel.model.Role role = RoleLocalServiceUtil.getRole(companyId, roleName);
4545
long roleId = role.getRoleId();
4646
final Set<String> actionStrings = actionsPerRoleEntry.getValue();
4747
final String[] actionIds = actionStrings.toArray(new String[actionStrings.size()]);

0 commit comments

Comments
 (0)