getPermissionsList
getPermissionsList():
Promise
<PageDataAndContent
["Permissions"
][]>
Get permissions list helper function to get a list of all permissions from Astro Studio’s Database.
Returns
Promise
<PageDataAndContent
["Permissions"
][]>
An Array of all permissions in the database.
Defined in
packages/studiocms_core/src/helpers/contentHelper.ts:197