|
|
@ -51,17 +51,16 @@ namespace Squidex.Shared |
|
|
|
|
|
|
|
|
public const string App = "squidex.apps.{app}"; |
|
|
public const string App = "squidex.apps.{app}"; |
|
|
|
|
|
|
|
|
|
|
|
public const string AppAdmin = "squidex.apps.{app}.*"; |
|
|
public const string AppDelete = "squidex.apps.{app}.delete"; |
|
|
public const string AppDelete = "squidex.apps.{app}.delete"; |
|
|
public const string AppUpdate = "squidex.apps.{app}.update"; |
|
|
public const string AppUpdate = "squidex.apps.{app}.update"; |
|
|
public const string AppUpdateImage = "squidex.apps.{app}.image"; |
|
|
public const string AppUpdateImage = "squidex.apps.{app}.image"; |
|
|
|
|
|
|
|
|
public const string AppHistory = "squidex.apps.{app}.history"; |
|
|
public const string AppHistory = "squidex.apps.{app}.history"; |
|
|
|
|
|
|
|
|
public const string AppPing = "squidex.apps.{app}.ping"; |
|
|
public const string AppPing = "squidex.apps.{app}.ping"; |
|
|
|
|
|
|
|
|
public const string AppSearch = "squidex.apps.{app}.search"; |
|
|
public const string AppSearch = "squidex.apps.{app}.search"; |
|
|
|
|
|
|
|
|
public const string AppTranslate = "squidex.apps.{app}.translate"; |
|
|
public const string AppTranslate = "squidex.apps.{app}.translate"; |
|
|
|
|
|
public const string AppUsage = "squidex.apps.{app}.usage"; |
|
|
|
|
|
|
|
|
public const string AppComments = "squidex.apps.{app}.comments"; |
|
|
public const string AppComments = "squidex.apps.{app}.comments"; |
|
|
public const string AppCommentsRead = "squidex.apps.{app}.comments.read"; |
|
|
public const string AppCommentsRead = "squidex.apps.{app}.comments.read"; |
|
|
@ -145,8 +144,6 @@ namespace Squidex.Shared |
|
|
public const string AppContentsVersionDelete = "squidex.apps.{app}.contents.{name}.version.delete"; |
|
|
public const string AppContentsVersionDelete = "squidex.apps.{app}.contents.{name}.version.delete"; |
|
|
public const string AppContentsDelete = "squidex.apps.{app}.contents.{name}.delete"; |
|
|
public const string AppContentsDelete = "squidex.apps.{app}.contents.{name}.delete"; |
|
|
|
|
|
|
|
|
public const string AppUsage = "squidex.apps.{app}.usage"; |
|
|
|
|
|
|
|
|
|
|
|
static Permissions() |
|
|
static Permissions() |
|
|
{ |
|
|
{ |
|
|
foreach (var field in typeof(Permissions).GetFields(BindingFlags.Public | BindingFlags.Static)) |
|
|
foreach (var field in typeof(Permissions).GetFields(BindingFlags.Public | BindingFlags.Static)) |
|
|
|