Problems with Role Assignment in configuration of extension
Last Post 12 May 2010 04:39 PM by Mitchel Sellers. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Pete Saunders
New Member
New Member
Posts:4


--
12 May 2010 03:59 PM  
I have loaded up the External Database provider on my DNN 5.2.3 development site, and I am having some issues with getting the Manage Role Assignments piece to work correctly. I get the dropdown list of roles in the Role To Assign section populated correctly. When I select a role from the list, put in my Match Text, and save it, it does not save the Role Name field. It shows the Match Text and the setting for Deny If Not Present, but the Role Name doesn't show in either the grid or in the database table ICG_Auth_RoleAssignment. Because of this, the automatic role assignment fails because the stored procedure ICG_Auth_GetRoleAssignmentsByMatchText returns an empty string for the RoleName.

Additionally, if I try to delete the existing role mapping, the page posts back and the grid disappears. I loaded up the source code version, and it appears that the DataGrid needs to bind every time to the role dataset, not just when the page load is not a postback, for the ItemCommand event to fire and delete the row. I can of course modify the source code to do this, but wanted to check and see if I might have some other problem. Other than the role mapping piece, the authentication works fine, and if I change the password in my external database the extension updates the DNN password as we need it to.

The source file I have is named 16487_12109_ICG.Modules.CustomAuthentication_030000_Source.zip, and the install is 16487_0_ICG.Modules.CustomAuthentication_030001_Install.zip.

Thanks
Pete Saunders
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:328


--
12 May 2010 04:39 PM  
Pete,

Sadly this is a bug that only impacts 5.x sites. it is due the difference in the way that 5.x and 4.x handles the display. We will be publishing a free update, hopefully this evening that resolves the issue.

However, I do believe that you have found the proper fix.
-Mitchel Sellers, Microsoft C# MVP, MCITP
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
You are not authorized to post a reply.

Active Forums 4.0
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com

 

Click to verify BBB accreditation and to see a BBB report.

 

Microsoft Certified Partner