Concept permissions

Concept permissions is a convenience set of security settings, differentiated by their name (concept). Concept permissions factory should primarily be an Elephant Entity, by means of its method getConceptPermission(name). Using an Elephant Entity as a factory ensures the correct initialization of the Scripting methods.

Permission fields

Field

Description

Required

name

Used as the concept related to this set of constraints.

allow

True when the concept is allowed. Defaults to false. Usually allow controls interactions with the concept.

show

True when the concept should be shown. Defaults to false. Usually show controls visualization of the concept.

showRole

Extension to show. Defined as normal Security roles.

actionRole

Extension to allow. Defined as normal Security roles.

showScript

Extension to show. Defined as in Scripting . It is possible to use scripting files with the directive file:file_name. Scripting files are located in /WEB-INF/elephant/scripts.

actionScript

Extension to allow. Defined as in Scripting . It is possible to use scripting files with the directive file:file_name. Scripting files are located in /WEB-INF/elephant/scripts.

showActor

Extension to show. Defined as in Actors .

actionActor

Extension to allow. Defined as in Actors .

max

Used to pass a numerical value to visual controls.

order

Useful when concepts should be shown in specific order.

permissions

A set of conceptual permissions with the same structure. Used as sub-concept permissions and scalable to any level.

Printer version
English06/24/22 04:54Lluís Turró Cutiller
English06/25/22 07:36Lluís Turró Cutiller