Table of Contents

Class Permissions

Namespace
GroupeIsa.Neos.Designer.UIAbstractions
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents the permissions.

[ExcludeFromCodeCoverage]
public class Permissions
Inheritance
Permissions
Inherited Members

Methods

CanCreate()

Gets a value indicating whether the user can create a new item.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanCreate()

Returns

bool

A value indicating whether the user can create a new item.

CanDelete()

Gets a value indicating whether the user can delete an item.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanDelete()

Returns

bool

A value indicating whether the user can delete an item.

CanExecuteAction(string)

Gets a value indicating whether the user can execute an action.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanExecuteAction(string uiViewAction)

Parameters

uiViewAction string

The ui view action.

Returns

bool

A value indicating whether the user can execute an action.

CanNavigate(NavigationOptions)

Gets a value indicating whether the user can navigate with the specified options.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanNavigate(NavigationOptions options)

Parameters

options NavigationOptions

The ui view name.

Returns

bool

A value indicating whether the user can navigate with the specified options..

CanRead()

Gets a value indicating whether the user can read an item.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanRead()

Returns

bool

A value indicating whether the user can read an item.

CanSave()

Gets a value indicating whether the user can save an item.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanSave()

Returns

bool

A value indicating whether the user can save an item.

CanUpdate()

Gets a value indicating whether the user can update an item.

[SuppressMessage("Minor Code Smell", "S2325:Methods and properties that don't access instance data should be static", Justification = "Transpilation")]
public bool CanUpdate()

Returns

bool

A value indicating whether the user can update an item.

GetForUIView(string)

Gets the permissions for the specified UI view.

public static Permissions GetForUIView(string uiViewName)

Parameters

uiViewName string

UI view name.

Returns

Permissions

The permissions for the UI view.