You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Balaji Sundar <ks...@gmail.com> on 2008/08/02 06:09:32 UTC

How to Assign permission to role?

When creating a person i can assign role.... but how to i assign permission
to role ?

I can assign permission to a person using permission group.

But i am not able to find how to do it for a role...

can anyone help me on this?
-- 
View this message in context: http://www.nabble.com/How-to-Assign-permission-to-role--tp18785944p18785944.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Assign permission to role?

Posted by Balaji Sundar <ks...@gmail.com>.
Yes, its's clear now...
thanks a lot



BJ Freeman wrote:
> 
> The party group, groups Parties
> like you can have a Supplier party group and put all the suppliers in it
> so the group encompasses the individual parties.
> the individual parties can have roles
> then as a group all the parties included in the group can have roles
> assigned to the group.
> 
> roles do not group parties however parities can share the same roles.
> 
> There are permission and permission groups.
> click on the security at the top of the party module
> https://demo.hotwaxmedia.com/partymgr/control/FindSecurityGroup
> then click on a group then permissions.
> you can then see by clicking on the logins who is assigned these
> permissions.
> you will see the individual permissions and can add them to a group.
> the permissions is what is used to access module and pages.
> Permission can be grouped for particular activity or module
> the permission groups are what are assigned to logins.
> 
> 
> Balaji Sundar sent the following on 8/1/2008 9:54 PM:
>> Correct me if i am wrong....
>> 
>> So, role is used to group parties and permission can be given to each
>> login
>> using the permission group...
>> 
>> I found somthing called party group... i can add userlogins to that group
>> ...... but still i cant give permission to that party group ... instead i
>> have to give it to all individual logins i create in that group....
>> correct?
>> 
>> So there is no role-based permissons?
>> 
>> 
>> 
>> 
>> 
>> 
>> BJ Freeman wrote:
>>> I correct myself
>>> you can assign permission to a login
>>> you assign roles to the party
>>> so all the logins for a party would have the same roles
>>>
>>>
>>> BJ Freeman sent the following on 8/1/2008 9:26 PM:
>>>> you can assign both permission and roles to a login.
>>>> you can not assign a permission to a role however.
>>>> once you edit a login then click on role(s) along the top row.
>>>> https://demo.hotwaxmedia.com/partymgr/control/viewroles?partyId=admin
>>>>
>>>>
>>>> Balaji Sundar sent the following on 8/1/2008 9:09 PM:
>>>>> When creating a person i can assign role.... but how to i assign
>>>>> permission
>>>>> to role ?
>>>>>
>>>>> I can assign permission to a person using permission group.
>>>>>
>>>>> But i am not able to find how to do it for a role...
>>>>>
>>>>> can anyone help me on this?
>>>>
>>>>
>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-Assign-permission-to-role--tp18785944p18786366.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Assign permission to role?

Posted by BJ Freeman <bj...@free-man.net>.
The party group, groups Parties
like you can have a Supplier party group and put all the suppliers in it
so the group encompasses the individual parties.
the individual parties can have roles
then as a group all the parties included in the group can have roles
assigned to the group.

roles do not group parties however parities can share the same roles.

There are permission and permission groups.
click on the security at the top of the party module
https://demo.hotwaxmedia.com/partymgr/control/FindSecurityGroup
then click on a group then permissions.
you can then see by clicking on the logins who is assigned these
permissions.
you will see the individual permissions and can add them to a group.
the permissions is what is used to access module and pages.
Permission can be grouped for particular activity or module
the permission groups are what are assigned to logins.


Balaji Sundar sent the following on 8/1/2008 9:54 PM:
> Correct me if i am wrong....
> 
> So, role is used to group parties and permission can be given to each login
> using the permission group...
> 
> I found somthing called party group... i can add userlogins to that group
> ...... but still i cant give permission to that party group ... instead i
> have to give it to all individual logins i create in that group.... correct?
> 
> So there is no role-based permissons?
> 
> 
> 
> 
> 
> 
> BJ Freeman wrote:
>> I correct myself
>> you can assign permission to a login
>> you assign roles to the party
>> so all the logins for a party would have the same roles
>>
>>
>> BJ Freeman sent the following on 8/1/2008 9:26 PM:
>>> you can assign both permission and roles to a login.
>>> you can not assign a permission to a role however.
>>> once you edit a login then click on role(s) along the top row.
>>> https://demo.hotwaxmedia.com/partymgr/control/viewroles?partyId=admin
>>>
>>>
>>> Balaji Sundar sent the following on 8/1/2008 9:09 PM:
>>>> When creating a person i can assign role.... but how to i assign
>>>> permission
>>>> to role ?
>>>>
>>>> I can assign permission to a person using permission group.
>>>>
>>>> But i am not able to find how to do it for a role...
>>>>
>>>> can anyone help me on this?
>>>
>>>
>>>
>>
>>
> 


Re: How to Assign permission to role?

Posted by Balaji Sundar <ks...@gmail.com>.
Correct me if i am wrong....

So, role is used to group parties and permission can be given to each login
using the permission group...

I found somthing called party group... i can add userlogins to that group
...... but still i cant give permission to that party group ... instead i
have to give it to all individual logins i create in that group.... correct?

So there is no role-based permissons?






BJ Freeman wrote:
> 
> I correct myself
> you can assign permission to a login
> you assign roles to the party
> so all the logins for a party would have the same roles
> 
> 
> BJ Freeman sent the following on 8/1/2008 9:26 PM:
>> you can assign both permission and roles to a login.
>> you can not assign a permission to a role however.
>> once you edit a login then click on role(s) along the top row.
>> https://demo.hotwaxmedia.com/partymgr/control/viewroles?partyId=admin
>> 
>> 
>> Balaji Sundar sent the following on 8/1/2008 9:09 PM:
>>> When creating a person i can assign role.... but how to i assign
>>> permission
>>> to role ?
>>>
>>> I can assign permission to a person using permission group.
>>>
>>> But i am not able to find how to do it for a role...
>>>
>>> can anyone help me on this?
>> 
>> 
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-Assign-permission-to-role--tp18785944p18786140.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: How to Assign permission to role?

Posted by BJ Freeman <bj...@free-man.net>.
I correct myself
you can assign permission to a login
you assign roles to the party
so all the logins for a party would have the same roles


BJ Freeman sent the following on 8/1/2008 9:26 PM:
> you can assign both permission and roles to a login.
> you can not assign a permission to a role however.
> once you edit a login then click on role(s) along the top row.
> https://demo.hotwaxmedia.com/partymgr/control/viewroles?partyId=admin
> 
> 
> Balaji Sundar sent the following on 8/1/2008 9:09 PM:
>> When creating a person i can assign role.... but how to i assign permission
>> to role ?
>>
>> I can assign permission to a person using permission group.
>>
>> But i am not able to find how to do it for a role...
>>
>> can anyone help me on this?
> 
> 
> 
> 


Re: How to Assign permission to role?

Posted by BJ Freeman <bj...@free-man.net>.
you can assign both permission and roles to a login.
you can not assign a permission to a role however.
once you edit a login then click on role(s) along the top row.
https://demo.hotwaxmedia.com/partymgr/control/viewroles?partyId=admin


Balaji Sundar sent the following on 8/1/2008 9:09 PM:
> When creating a person i can assign role.... but how to i assign permission
> to role ?
> 
> I can assign permission to a person using permission group.
> 
> But i am not able to find how to do it for a role...
> 
> can anyone help me on this?


Re: How to Assign permission to role?

Posted by Bilgin Ibryam <bi...@iguanait.com>.
On Fri, 2008-08-01 at 21:09 -0700, Balaji Sundar wrote:
> But i am not able to find how to do it for a role...
> 
> can anyone help me on this?

For an example of role based permission search in the code about
ProdcutStoreRole entity, or hasPermission methods in OrderServices.java
file

Bilgin