Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Liferay Beginner's Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)
close
close
Liferay Beginner's Guide

Liferay Beginner's Guide

3.8 (5)

Overview of this book

Table of Contents (19 chapters)
close
close
Liferay
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
PayPal Test Account Configuration
Index

Exploring role/permission management in Liferay


After creating pages and users, the next logical step would be to define appropriate roles and permissions. We will do that in this section.

Managing adequate access control is one of the most important requirements of any system. In order to have proper access control, you should define various roles with permissions to perform specific actions and assign these roles to users. Once you, the user, have a certain role it means that the user can perform all the actions permitted by that role. For example, if you want to enable user1 to create a blog entry then first you have to create the BlogEntryCreation role (you can give it any name) with Create Blog Entry permission and then assign user1 to the BlogEntryCreation role. Now when the user goes to the blog portlet, he/she will be able to add a new blog entry.

In Liferay, you can define permission for almost all the actions. Actions in Liferay are basically of the following types:

  • Portal-level...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY