掲示板
Assigning Portlet permission to a Role
13年前 に Neel N によって更新されました。
Assigning Portlet permission to a Role
New Member 投稿: 12 参加年月日: 10/11/17 最新の投稿
I wanted to assign permission based on roles.
- Logged-in as admin user.
- Created a role named "Test Role". Currently, there are no permissions assigned to the role.
- Created a user named "Katy".
- Assigned the "Test role" to "Katy". Removed the “Power User” role.
- Now, admin user views the public page of the user and add a portlet named "My Test Portlet".
- Admin user sign-out
- Logged-in as Katy and views the home page. The user is able to see the home page with "My Test Portlet".
My question: How the user katy is able to view the "My Test Portlet" as the "Test Role" do not have any privileges. I expect the user should see the error message “Access denied”. Please clarify my doubt.
Note: I’m using Liferay Community edition 6.0.4
Thanks in advance.
Neel
- Logged-in as admin user.
- Created a role named "Test Role". Currently, there are no permissions assigned to the role.
- Created a user named "Katy".
- Assigned the "Test role" to "Katy". Removed the “Power User” role.
- Now, admin user views the public page of the user and add a portlet named "My Test Portlet".
- Admin user sign-out
- Logged-in as Katy and views the home page. The user is able to see the home page with "My Test Portlet".
My question: How the user katy is able to view the "My Test Portlet" as the "Test Role" do not have any privileges. I expect the user should see the error message “Access denied”. Please clarify my doubt.
Note: I’m using Liferay Community edition 6.0.4
Thanks in advance.
Neel
13年前 に Simon Gołębiewski によって更新されました。
RE: Assigning Portlet permission to a Role
Regular Member 投稿: 246 参加年月日: 09/06/08 最新の投稿
Probably "My Test Portlet" has permission "Test role: view"
13年前 に Neel N によって更新されました。
RE: Assigning Portlet permission to a Role
New Member 投稿: 12 参加年月日: 10/11/17 最新の投稿
This issue is resolved.