Hi , i'm reviewing heavily the api provided with webpages which is really cool , it reminds me the api zend provides for php.
But i add some issues with WebSecurity and the Roles object.
I think you should not be able to insert multiple times the same role to the same user with the Roles.AddUserToRole(user, role) command cause it makes the database editor bug big time. I could not edit the webpages_UsersInRoles table manually anymore because of identical rows in the Data editor. i had to do a SQL DELETE to be able to edit the table again. So maybe there should be some kind of check if the association exists before inserting another user/role relationship.
I wasn't able to use some methods of simpleroleprovider either. Is it fully implemented?
Anyway , i cant wait for the official stable release.
View Complete Post