留言板

How to give permissions to module in liferay 7.0.1 GA2 ?

lokesh gorrela,修改在7 年前。

How to give permissions to module in liferay 7.0.1 GA2 ?

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
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,修改在7 年前。

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

Liferay Legend 帖子: 14914 加入日期: 06-9-2 最近的帖子
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,修改在7 年前。

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

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
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,修改在7 年前。

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

Liferay Legend 帖子: 14914 加入日期: 06-9-2 最近的帖子
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,修改在7 年前。

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

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
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,修改在7 年前。

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

Liferay Legend 帖子: 14914 加入日期: 06-9-2 最近的帖子
The basics that you know from 6.2 apply to 7.
lokesh gorrela,修改在7 年前。

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

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
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,修改在7 年前。

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

Liferay Legend 帖子: 14914 加入日期: 06-9-2 最近的帖子
not that i'm aware of.
lokesh gorrela,修改在7 年前。

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

Regular Member 帖子: 173 加入日期: 16-3-9 最近的帖子
ok, David
Thanks for your replay

Regards
Lokesh