I have opened a jira issue for this https://issues.apache.org/jira/browse/OFBIZ-3071 Also will check if there are any more places with the same issue.
Regarding user responsibility I guess the system should do how much it can. Abdullah On Mon, Oct 19, 2009 at 10:59 PM, Jacques Le Roux < [email protected]> wrote: > Please feel free to open a Jira for this, I agree it would be better to > assure consistency in 1st place here > http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices > On the other hand I wonder if there are not many more places with the same > issue... > Also some may think that it's the user responsability. > There are a lot cases where OFBiz could improve these kind of check... Not > sure it's a priority though... > > Jacques > > From: "Abdullah Shaikh" <[email protected]> > > No its not a bug, if you take a closer look, the fromDate is part of the > primary key for entity UserLoginSecurityGroup in which the user & security > group is mapped, fromDate I guess is a part of primary key because can be > assigned a particular security group for a specified period and then maybe > reassigned the same security group at a later date. > > But yes I guess the adding functionality should check if the thruDate is > specified, because when reassigning the record should be expired by > thruDate > or if thruDate is specified then it should be check if its before the > fromDate of the new record. > > On Mon, Oct 19, 2009 at 5:16 PM, naveenchanda <[email protected]> wrote: > > >> Dear All, >> >> How can i restrict the same security group adding to the party multiple >> times ? >> >> The issue is: >> >> Securitygroups> Userlogins> “ Add UserLogin to Security Group”> Click on >> Add. Adding same group many times is acceting. >> >> Is this a bug ? >> >> How can i solve the above issue ? >> >> Please help me. >> >> Thanks, >> Naveen Chanda >> -- >> View this message in context: >> >> http://n4.nabble.com/issue-in-adding-security-group-to-a-party-tp253316p253316.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> > >
