details
* AdminController.cs: Notification when Admin group is created * LocalizedText.resx: * LocalizedText.fr.resx: * LocalizedText.Designer.cs: * LocalizedText.fr.Designer.cs: Existant DB message
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2015-10-23 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* AdminController.cs: Notification when Admin group is created
|
||||
|
||||
2015-10-22 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* parralax.js: YastepInDaPresentation
|
||||
|
@ -27,11 +27,16 @@ namespace Yavsc.Controllers
|
||||
{
|
||||
if (!Roles.RoleExists (adminRoleName)) {
|
||||
Roles.CreateRole (adminRoleName);
|
||||
YavscHelpers.Notify (adminRoleName + " " + LocalizedText.role_created);
|
||||
|
||||
}
|
||||
return View ();
|
||||
}
|
||||
/// <summary>
|
||||
/// Inits the db.
|
||||
/// In order this action succeds,
|
||||
/// there must not exist any administrator,
|
||||
/// nor Admin group.
|
||||
/// </summary>
|
||||
/// <returns>The db.</returns>
|
||||
/// <param name="datac">Datac.</param>
|
||||
@ -59,7 +64,6 @@ namespace Yavsc.Controllers
|
||||
[Authorize(Roles="Admin")]
|
||||
public ActionResult Backups(DataAccess model)
|
||||
{
|
||||
|
||||
return View (model);
|
||||
}
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user