Foros de discusión
Permission check issue in Liferay 7
kiran kumar, modificado hace 7 años.
Permission check issue in Liferay 7
Junior Member Mensajes: 62 Fecha de incorporación: 4/07/14 Mensajes recientes
Hi Team,
I have created portllet in Liferay OSGI, now facing issure in when in integration permission.
boolean hasAddPermission = CustomePortletpermission.contains(
permissionChecker, scopeGroupId, "ADD_EMPLOYEE");
boolean hasConfigurePermission = CustomePortletpermission.contains(
permissionChecker, scopeGroupId, ActionKeys.PERMISSIONS);
I m getting error in permission checker error.
i have implemented
@Component(
immediate = true,
property = {"resource.name=" + CustomePortletpermission.RESOURCE_NAME},
service = ResourcePermissionChecker.class
Still i m not able resolve the permission checker issue.
I have created portllet in Liferay OSGI, now facing issure in when in integration permission.
boolean hasAddPermission = CustomePortletpermission.contains(
permissionChecker, scopeGroupId, "ADD_EMPLOYEE");
boolean hasConfigurePermission = CustomePortletpermission.contains(
permissionChecker, scopeGroupId, ActionKeys.PERMISSIONS);
I m getting error in permission checker error.
i have implemented
@Component(
immediate = true,
property = {"resource.name=" + CustomePortletpermission.RESOURCE_NAME},
service = ResourcePermissionChecker.class
Still i m not able resolve the permission checker issue.
Olaf Kock, modificado hace 7 años.
RE: Permission check issue in Liferay 7
Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recienteskiran kumar:
I m getting error in permission checker error.
It would help to either see your CustomPermissionsChecker's code or know what error you get. Or both.
Actually: Scratch the "or" - please post both
kiran kumar, modificado hace 7 años.
RE: Permission check issue in Liferay 7
Junior Member Mensajes: 62 Fecha de incorporación: 4/07/14 Mensajes recientes
Hi Oak,
I have Created "CustomePortletpermission" for resource permission and EmpoyeePermission for portlet permission and i m using check and contains method.
Now is that same implementation for liferay dxp or diffrent.
i have changed packages as well.
Please suggest me.
I have Created "CustomePortletpermission" for resource permission and EmpoyeePermission for portlet permission and i m using check and contains method.
Now is that same implementation for liferay dxp or diffrent.
i have changed packages as well.
Please suggest me.
Olaf Kock, modificado hace 7 años.
RE: Permission check issue in Liferay 7
Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recienteskiran kumar:
I have Created "CustomePortletpermission" for resource permission and EmpoyeePermission for portlet permission and i m using check and contains method.
It would help to either see your CustomPermissionsChecker's code or know what error you get. Or both.
Actually: Scratch the "or" - please post both