Vinu Neelambaran

Greenhorn
+ Follow
since Nov 22, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vinu Neelambaran

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.
Vinu
13 years ago
Hi,

Actually came across a strange problem while playing around with Postgres and Liferay integration.

When I am using postgres, after creation of new organization role, the same is not reflected under 'Portlet configuration', for managing portlet access.

However, when I am using MySQL everything seems to work just fine !

Am I missing something important here ? Or anybody else have came across such problems while using Postgres.

Liferay version: 6.0.4 community version
Postgres version: 9.0.1.1

Very thanks in advance. Any help will be great !

Vinu
13 years ago
Hi

I'm facing some issues in Portlet and Page permission, please help..



- Logged-in as admin user

- Created a role named "Test Role"

- Created a user named "Katy"

- Assigned "Test Role" to Katy. Removed Power User role.

- I have created a page named "Dashboard" and provided the 'View' permission thru' Manage > Page > Permissions to 'Test Role'

- Added a portlet named "My Test Portlet" to the dashboard page

- Clicked on "Configuration" button in the title bar of the portlet. Assigned 'View' permission to "Test Role"

- User Katy logged-in, she was able to view the "My Test Portlet". This is fine.

- Again logged-in as admin user, using the configuration button of "My Test Portlet" removed the "View" permission from "Test Role"

- User katy logged-in, she was shown the error message "Access denied". This is fine.

- Logged-in as admin user and the page permission of "Dashboard" was changed to "Update"

- User Katy logs-in and she is able to view the "My Test Portlet" which is not correct.



Even though there is no view permission for "Test Role", Katy was able to access the portlet because the page permission has "Update". This means portlet permission is overridden by page permission which is incorrect. Please let me know if I have done anything wrong.



I'm using Liferay CE 6.0.4.


Thanks,
Vinu
13 years ago