kiquenet / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

How Do I manage Roles? #236

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am trying to assign users to roles and am currently doing it by executing 
sql statements - is there any way to manage this using IIS or inside of 
dropthings (inside dropthings is preferable).
2.
3.

What is the expected output? What do you see instead?
Want to add a user to an existing role and I also want to be able to create new 
roles

What version of the product are you using? On what operating system?
server 2008 r2, dropthings 2.7.6

Please provide any additional information below.
This portal is fantastic!

Original issue reported on code.google.com by micha...@xtra.co.nz on 22 Mar 2012 at 12:57

GoogleCodeExporter commented 8 years ago
You can use the ASP.NET configuration website to change roles.

Original comment by omaralzabir@gmail.com on 22 Mar 2012 at 1:49

GoogleCodeExporter commented 8 years ago
how do i find this - in iis (version 7), I dont have a ROLES option on the 
website in IIS....where do i need to look?  (NOTE: I dont want to do this from 
the development environment - ultimately I need to do it on a deployed site).

Sorry - but Im a little confused at this point :)

Original comment by micha...@xtra.co.nz on 22 Mar 2012 at 9:33

GoogleCodeExporter commented 8 years ago
Hi Omar,
   I think I have narrowed it down, we have converted the project to .net 4 and I think that IIS cannot display the roles manager when the app pool is .net4 ........bit of an issue.  
I notice there is some excluded widgets in the solution for rolemanagement 
(e.g. memberInRoleWidget.ascx, MemberManagerWidget.ascx, 
RoleManagerWidget.ascx) - what is the history on these ...will they work ...why 
where they excluded?

Original comment by micha...@xtra.co.nz on 22 Mar 2012 at 11:50

GoogleCodeExporter commented 8 years ago
I think the best way to do this is to create a page that renders list of users 
from aspnet_membership (in paged manner) and allows you to select user and see 
their roles from aspnet_Roles. You can put it inside the /Admin folder so that 
only users with admin role can see. 

Original comment by omaralzabir@gmail.com on 23 Mar 2012 at 11:30