Today we will discuss How to create our own Custom permission in Liferay and then Show or Hide content on the basis of Permission associated with the User. Also we create model level permission so that Permission can be apply to a particular Model. Before reading this you must know how to create Services for this you can read my previous blog Service Builder in Detail and how to create Role and assign user to that role for this you may refer Role Creation.
This blog is specially create for learning step by step liferay.We can learn liferay,hooks,ext,portlet,layout ,services and themes with eclipse ide.
Friday, June 19, 2015
Create Custom Permission and Show/Hide Content on the Basis of Permission by Using Permission Checker
Today we will discuss How to create our own Custom permission in Liferay and then Show or Hide content on the basis of Permission associated with the User. Also we create model level permission so that Permission can be apply to a particular Model. Before reading this you must know how to create Services for this you can read my previous blog Service Builder in Detail and how to create Role and assign user to that role for this you may refer Role Creation.
Labels:
Roles and Permission
Thursday, June 18, 2015
Permission in Liferay
Today we will discuss Permission in Liferay. Permission in Liferay is a Complex topic itself so today we discuss just basic of permission System. In Liferay we have :-
- Users
- One User can have multiple roles.Ex- Admin,Guest,Owner, PowerUser etc.
- One Role can have multiple permissions.Ex- View,Add Site,Add Role,Add Users etc.
Labels:
Roles and Permission
Saturday, June 6, 2015
Control Panel Permission in Liferay
Today we will discuss how to handle Control Panel Permission in Liferay.Before reading this you must know how to create a particular role and how to assign Users to it.For this you may refer my previous post here.
Today we will create a User that can do all the control panel task except he can not create Sites and Roles.
Labels:
Control Panel,
Roles and Permission
Subscribe to:
Posts (Atom)