Security Groups

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
mkent
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Fri Jul 10, 2009 10:30 pm

Security Groups

Post by mkent » Tue May 18, 2010 1:03 pm

How can you allow users to change passwords , but not be able to change the security group of the user?

I have read another post that covers this very well. But the problem is , once you give the user rights to the menu item through the web.config file for People/Users then he/she can change the user's group membership.

User avatar
Shopping Cart Admin
AbleCommerce Admin
AbleCommerce Admin
Posts: 3055
Joined: Mon Dec 01, 2003 8:41 pm
Location: Vancouver, WA
Contact:

Re: Security Groups

Post by Shopping Cart Admin » Tue May 18, 2010 6:34 pm

Hello,

It's a post back page which changes the group assignment, so it would need to be handled with programming.
Thanks for your support

Shopping Cart Guru
AbleCommerce.com
Follow us on Facebook

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Security Groups

Post by mazhar » Wed May 19, 2010 5:17 am

Yes it will require few custom code lines to do this. So if you are wanting it to be disabled for all users then search following statement in Admin/People/Users/EditUser.aspx file

Code: Select all

<asp:LinkButton ID="ChangeGroupListButton" runat="server" Text="Change" /> 
then update it as below

Code: Select all

<asp:LinkButton ID="ChangeGroupListButton" runat="server" Text="Change" Visible="false" /> 
Save the file and that's it.

Post Reply