AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 Discussion: Duplicate Group Names
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I have to say I'm not thrilled with the current implementation of User Groups and Admin Groups. There's no check for duplicates on the group name. So I can very easily create 'Customer Service Reps' in the User Groups, and then create a 'Customer Service Reps' group in Admin Groups. Now I have two entities in ac_Groups with identical names.
From a data model perspective, this is a major problem. I can no longer trust _groupRepo.LoadForName("Customer Service Reps") to deliver a unique group. In fact, it seems to return only the first group matching the name specified.
I often leverage security groups as a way to categorize specific users for a specific feature or task. Now I can no longer rely on the name of the group to be unique.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
This is an issue and I am reporting this as a bug.
Thanks for identifying the issue.
|
1 user thanked shaharyar for this useful post.
|
|
|
Rank: Advanced Member
Groups: HelpDesk, Developers Joined: 11/9/2018(UTC) Posts: 564
Thanks: 122 times Was thanked: 26 time(s) in 25 post(s)
|
I think ultimately the confusion lies with having two different pages to view any group. User groups and Admin groups, from a data perspective, are the exact same entity. But we have two different pages to manage them. So it's very easy to check User Groups and create something that duplicates what is already created in Admin Groups.
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
General Questions
»
9.0.4 Discussion: Duplicate Group Names
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close