sp_create_permission


Description

Create or update a permission code; when p_copy_from is given, clone that code’s role/user grants and property overrides so existing users keep access.

Parameters

Name Type Mode
p_code text IN
p_name text IN
p_category text IN (DEFAULT NULL)
p_copy_from text IN (DEFAULT NULL)
p_parent text IN (DEFAULT NULL)
p_app_code text IN (DEFAULT 'pms')

Definition