get_greatest_rights_scope(p_scopes text[] DEFAULT NULL::text[])


Description

Given an array of Permission Right Scopes, returns the most expansive scope found in the array.

Parameters

  • p_scopes :: Required? True; Default: ( No Default )

    The array of permission scopes to test.

General Usage

If the array is NULL the returned value is ‘deny’.

Parameters

Name Type Mode
p_scopes text[] IN

Definition