Adds UI to enrole members
This commit is contained in:
parent
bc6feacbee
commit
0b8b717f3e
12 changed files with 58 additions and 11 deletions
|
|
@ -24,12 +24,11 @@ namespace Yavsc.Controllers
|
|||
/// </summary>
|
||||
public ActionResult Index()
|
||||
{
|
||||
// FIXME do this in a new installation script.
|
||||
if (!Roles.RoleExists (roleName)) {
|
||||
Roles.CreateRole (roleName);
|
||||
YavscHelpers.Notify (ViewData, roleName + " " + LocalizedText.role_created);
|
||||
|
||||
}
|
||||
|
||||
return View ();
|
||||
}
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue