You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by MarioF <oc...@gmail.com> on 2009/12/04 10:49:36 UTC

How to set permissions to all new users?

Hi all,

I want that the new registered users have always some permissions. How can I
do that without the admin has to set one by one in the party application?

Thanks in advance.
-- 
View this message in context: http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: How to set permissions to all new users?

Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks for all your valuable help Rishi!

I'm not quite sure either of my answer, will see...

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org

From: "Rishi Solanki" <ri...@gmail.com>
> Thanks Jacques,
> I thought mario has user data available and whenever he loads the data he
> again needs to assign the same permission to that particular user. So
> suggest that way, I see ECA is better option whenever a user created.
> Mario, Please ignore my comment as Jacques already provided better way to
> handle.
> Jacques I will try to remember this and try to get better on which kind of
> help actually a subscriber needs.
> 
> Thanks Again !
> 
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
> 
> 
> On Sun, Dec 6, 2009 at 4:19 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
> 
>> Hi Rishi,
>> I wonder if Mario is no looking for a dynamically way to give permissions
>> to each new registered user.
>> Did you intend to answer to this question ?
>>
>> Mario,
>> If it was your question and you don't find Rishi's answer a solution I
>> guess you have simply to use an ECA which will fires and give some
>> permission each time a new user is registered. I let you fill the
>> "details"...
>>
>> HTH
>> Jacques
>>
>> From: "Rishi Solanki" <ri...@gmail.com>
>>
>>  Hi Mario,
>>> Add its UserLoginSecurityGroup data and associate the permission you want.
>>> Once the data load and even you drop the DB instance it will loaded again
>>> on
>>> ant targets.
>>> This way you won't need to assign permission again and again to your user
>>> from party application.
>>>
>>> Rishi Solanki
>>> Enterprise Software Developer
>>> HotWax Media Pvt. Ltd.
>>>
>>>
>>> On Fri, Dec 4, 2009 at 3:19 PM, MarioF <oc...@gmail.com> wrote:
>>>
>>>
>>>> Hi all,
>>>>
>>>> I want that the new registered users have always some permissions. How
>>>> can
>>>> I
>>>> do that without the admin has to set one by one in the party application?
>>>>
>>>> Thanks in advance.
>>>> --
>>>> View this message in context:
>>>>
>>>> http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>
>>
>


Re: How to set permissions to all new users?

Posted by Rishi Solanki <ri...@gmail.com>.
Thanks Jacques,
I thought mario has user data available and whenever he loads the data he
again needs to assign the same permission to that particular user. So
suggest that way, I see ECA is better option whenever a user created.
Mario, Please ignore my comment as Jacques already provided better way to
handle.
Jacques I will try to remember this and try to get better on which kind of
help actually a subscriber needs.

Thanks Again !

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Sun, Dec 6, 2009 at 4:19 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> Hi Rishi,
> I wonder if Mario is no looking for a dynamically way to give permissions
> to each new registered user.
> Did you intend to answer to this question ?
>
> Mario,
> If it was your question and you don't find Rishi's answer a solution I
> guess you have simply to use an ECA which will fires and give some
> permission each time a new user is registered. I let you fill the
> "details"...
>
> HTH
> Jacques
>
> From: "Rishi Solanki" <ri...@gmail.com>
>
>  Hi Mario,
>> Add its UserLoginSecurityGroup data and associate the permission you want.
>> Once the data load and even you drop the DB instance it will loaded again
>> on
>> ant targets.
>> This way you won't need to assign permission again and again to your user
>> from party application.
>>
>> Rishi Solanki
>> Enterprise Software Developer
>> HotWax Media Pvt. Ltd.
>>
>>
>> On Fri, Dec 4, 2009 at 3:19 PM, MarioF <oc...@gmail.com> wrote:
>>
>>
>>> Hi all,
>>>
>>> I want that the new registered users have always some permissions. How
>>> can
>>> I
>>> do that without the admin has to set one by one in the party application?
>>>
>>> Thanks in advance.
>>> --
>>> View this message in context:
>>>
>>> http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>
>
>

Re: How to set permissions to all new users?

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Rishi,
I wonder if Mario is no looking for a dynamically way to give permissions to each new registered user.
Did you intend to answer to this question ?

Mario,
If it was your question and you don't find Rishi's answer a solution I guess you have simply to use an ECA which will fires and give 
some permission each time a new user is registered. I let you fill the "details"...

HTH
Jacques

From: "Rishi Solanki" <ri...@gmail.com>
> Hi Mario,
> Add its UserLoginSecurityGroup data and associate the permission you want.
> Once the data load and even you drop the DB instance it will loaded again on
> ant targets.
> This way you won't need to assign permission again and again to your user
> from party application.
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>
> On Fri, Dec 4, 2009 at 3:19 PM, MarioF <oc...@gmail.com> wrote:
>
>>
>> Hi all,
>>
>> I want that the new registered users have always some permissions. How can
>> I
>> do that without the admin has to set one by one in the party application?
>>
>> Thanks in advance.
>> --
>> View this message in context:
>> http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 



Re: How to set permissions to all new users?

Posted by Rishi Solanki <ri...@gmail.com>.
Hi Mario,
Add its UserLoginSecurityGroup data and associate the permission you want.
Once the data load and even you drop the DB instance it will loaded again on
ant targets.
This way you won't need to assign permission again and again to your user
from party application.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Fri, Dec 4, 2009 at 3:19 PM, MarioF <oc...@gmail.com> wrote:

>
> Hi all,
>
> I want that the new registered users have always some permissions. How can
> I
> do that without the admin has to set one by one in the party application?
>
> Thanks in advance.
> --
> View this message in context:
> http://n4.nabble.com/How-to-set-permissions-to-all-new-users-tp948378p948378.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>