SimplePermission

constructor(allowed: Boolean)

Creates a new #GPermission instance that represents an action that is either always or never allowed.

Return

the #GSimplePermission, as a #GPermission

Since

2.26

Parameters

allowed

true if the action is allowed


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)