Add c77_rbac_grant_feature function

This commit is contained in:
trogers1884 2025-03-26 03:45:56 -05:00
parent d160057c4e
commit a740f93cb5

View File

@ -71,6 +71,7 @@ END;
$$ LANGUAGE plpgsql; $$ LANGUAGE plpgsql;
CREATE FUNCTION c77_rbac_grant_feature( CREATE FUNCTION c77_rbac_grant_feature(
p_role_name TEXT, p_role_name TEXT,
p_feature_name TEXT p_feature_name TEXT
@ -97,5 +98,4 @@ BEGIN
VALUES (v_role_id, v_feature_id) VALUES (v_role_id, v_feature_id)
ON CONFLICT DO NOTHING; ON CONFLICT DO NOTHING;
END; END;
$$ LANGUAGE plpgsql; $$ LANGUAGE plpgsql;