• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Assigning Portlet permission to a Role

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic