Permission

Wrapper around permissions.

Constructors

this
this(string resource, bool readAccess, bool writeAccess, bool updateAccess, bool deleteAccess)

Creates a new permission.

Members

Properties

deleteAccess
bool deleteAccess [@property getter]

Gets a boolean determining the delete-access.

readAccess
bool readAccess [@property getter]

Gets a boolean determining the read-access.

resource
string resource [@property getter]

Gets the resource.

updateAccess
bool updateAccess [@property getter]

Gets a boolean determining the update-access.

writeAccess
bool writeAccess [@property getter]

Gets a boolean determining the write-access.

Meta