掲示板

Role Permission

thumbnail
12年前 に amir keshavarz によって更新されました。

Role Permission

Junior Member 投稿: 54 参加年月日: 10/10/09 最新の投稿
Hello,

I am using liferay 5.2.2.
we have a role named 'Organization Administrator' and as you know this role has a type named 'Organization'.
roles could have one of 3 types : organization, community, regular.

i have a wiki on a page.
i want to grant permissions to 'Organization Administrator' Role on this wiki.
but when i click on configuration-> permissions in my wiki object i could see there is only listed roles which have type of regular or community.

So my question is that how can i make organization roles selectable in the table of wiki permissions?


Many Thanks
amir
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Role Permission

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
amir keshavarz:

So my question is that how can i make organization roles selectable in the table of wiki permissions?


HI Amir,
i want to grant permissions to 'Organization Administrator' Role on this wiki.


"This is something like ask rent to landlord" emoticon

"If person X is an organization administrator of Organization Y" - Means First of all Person-x is member of that organization and then he/she is organization admin.

"What does mean of Organization admin " : He has all rites(Delete ,Update , Edit , Add) on all portlets which are placed on respective organization's page(s).

Now if you are at organization's page and moving to permission of any portlet : - It will display all regular roles and roles having type organization plus organization members.(It will not display any community roles and of-course not organization administrator role )

Now if you are at community's page and moving to permission of any portlet :- It will display all regular roles and roles having type community plus community members.(It will not display any organization roles and of-course not community administrator role )

Now if you want to make some restriction on organization by you can create either regular role or organization role and you can see those list at organization page only.

Hope this help emoticon

Thanks,
Sagar Vyas
thumbnail
12年前 に amir keshavarz によって更新されました。

RE: Role Permission

Junior Member 投稿: 54 参加年月日: 10/10/09 最新の投稿
Hi Sagar,

Many thanks.
your answer is so complete.
i created a regular role and i want to make a query on database to grant this new role to all of users
who already have the role of 'organization administrator' but:
when i make a select query on users_roles table there is a wondering thing:
i already removed some users roles from control panel but related records in users_roles table steel exist.

what is happening?
and how can i grant the new role to all users with a special role?

Best Regards
amir
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Role Permission

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
nd how can i grant the new role to all users with a special role?


Hi Amir,

I would always prefer that use user interface for remove something or add something emoticon

if you do it from DB it will be more error prone.

Thanks,
Sagar Vyas
thumbnail
12年前 に amir keshavarz によって更新されました。

RE: Role Permission

Junior Member 投稿: 54 参加年月日: 10/10/09 最新の投稿
Sagar,
Happy to here from you again.

Is there any way in interface to grant this new role to all of users which have a special role.

Thanks
amir
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Role Permission

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
amir keshavarz:
Sagar,
Happy to here from you again.

Is there any way in interface to grant this new role to all of users which have a special role.

Thanks
amir


Hi Amit,

You mean you want to see how to apply role to particular user ? or ?

Thanks,
Sagar Vyas
thumbnail
12年前 に amir keshavarz によって更新されました。

RE: Role Permission

Junior Member 投稿: 54 参加年月日: 10/10/09 最新の投稿
Hi Sagar,
I am amir not amit emoticon

i have some users who have the role of 'organization administrator'
they are not member of a same organization or community.
and i want to grant all of these users a special role which i created it newly.

Thanks
amir
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Role Permission

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
amir keshavarz:
Hi Sagar,
I am amir not amit emoticon

i have some users who have the role of 'organization administrator'
they are not member of a same organization or community.
and i want to grant all of these users a special role which i created it newly.

Thanks
amir


Hi Amir,

You have created one role.

You can simply apply this role to all these user as user can have multiple role.

am i going on wrong track ?

Thanks,
Sagar Vyas
thumbnail
12年前 に amir keshavarz によって更新されました。

RE: Role Permission

Junior Member 投稿: 54 参加年月日: 10/10/09 最新の投稿
Sagar,

I know this, but i have a lot of users and it is a huge work to grant them one by one.

thanks
amir
thumbnail
12年前 に Sagar A Vyas によって更新されました。

RE: Role Permission

Liferay Master 投稿: 679 参加年月日: 09/04/17 最新の投稿
Hi Amir,

Ok lets do one thing

Step 1) Create one user group assign this UG to your organization.

Step 2) Assign your special role to that UG.

Thanks,
Sagar Vyas