Forums de discussion

How to give permissions to module in liferay 7.0.1 GA2 ?

lokesh gorrela, modifié il y a 7 années.

How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member Publications: 173 Date d'inscription: 09/03/16 Publications récentes
Hi Guys,

I have created one new module project with jsp's and classes in liferay 7.0.1 GA2. My requirement is give some permissions to module.How to give the permissions to module ?
Any one knows about this please give replay.

Thanks
Regards
Lokesh
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Liferay Legend Publications: 14918 Date d'inscription: 02/09/06 Publications récentes
Modules don't have permissions - they have public and private classes, so they provide an api that can be invoked and a private implementation that is not exposed.

Portlets have permissions, as can entities. These are managed using resource permissions: https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/adding-permissions-to-resources.
lokesh gorrela, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member Publications: 173 Date d'inscription: 09/03/16 Publications récentes
Hello David
Thanks for your replay

In 7 i have created a module by choosing mvcportlet project template ,
How to give permissions to page, portlet and model resources.(How to create model resources in 7?) for roles?

Regards
Lokesh
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Liferay Legend Publications: 14918 Date d'inscription: 02/09/06 Publications récentes
Portlets have no effect on pages.

Use the link I provided for defining portlet and model privileges.

Privileges have no impact on roles. You need to define the permissions a role has (or doesn't have), and this is also not an aspect of portlets.
lokesh gorrela, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member Publications: 173 Date d'inscription: 09/03/16 Publications récentes
ok, Is there any new changes in users, roles, organizations,sites,site templates permissions?
I am expecting there is no new changes , Am i right?
If any changes related to users, roles, organizations,sites,site templates please let me know.
because we have customized some permissions in 6.2 .
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Liferay Legend Publications: 14918 Date d'inscription: 02/09/06 Publications récentes
The basics that you know from 6.2 apply to 7.
lokesh gorrela, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member Publications: 173 Date d'inscription: 09/03/16 Publications récentes
Ok David.
please clarify me one thing,
Is there anything that has changed in liferay 7 regarding roles and permission..?
Thanks,
Lokesh.
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Liferay Legend Publications: 14918 Date d'inscription: 02/09/06 Publications récentes
not that i'm aware of.
lokesh gorrela, modifié il y a 7 années.

RE: How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member Publications: 173 Date d'inscription: 09/03/16 Publications récentes
ok, David
Thanks for your replay

Regards
Lokesh