How to Assign permission to role?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Assign permission to role?

Balaji Sundar
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?
Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

BJ Freeman
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?

Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

BJ Freeman
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?
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

Balaji Sundar
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?
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

BJ Freeman
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?
>>>
>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

Balaji Sundar
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?
>>>
>>>
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to Assign permission to role?

Bilgin Ibryam
In reply to this post by Balaji Sundar
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