Renaming role

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
12/9/2006 1:30:00 AM
Gravatar
Total Posts 488

Renaming role

Renaming the role changes it DisplayName without affecting RoleName.
For example, on /Admin/ManageUsers.aspx RoleName is used - so, renaming the role does not affect this page.

It would be nice either to change RoleName with DisplaName or to use DisplayName instead of RoleName at pages.
12/9/2006 2:58:38 AM
Gravatar
Total Posts 18439

Re: Renaming role

The reason we have display name is so role names can be localized without breaking the code. If not for this and someone renames the Admins or Content Admins role they will be locked out. We use Display name for display and rolename for checking roles.

Joe
12/9/2006 3:00:48 AM
Gravatar
Total Posts 488

Re: Renaming role

In this case on /Admin/ManageUsers.aspx it would be better to use DisplayName as well (now RoleName is used in the dropdown on the bottom of the page).
12/9/2006 3:03:56 AM
Gravatar
Total Posts 18439

Re: Renaming role

Agreed. I thought it was using  DisplayName but I see now it is not. Its easy to fix without recompile since it is set in the .aspx file.

Joe
You must sign in to post in the forums. This thread is closed to new posts.