pub async fn abilities_of(
pool: &PgPool,
actor: &Actor,
request: &ChangeRequest,
) -> AppResult<Abilities>Expand description
Loads the abilities of actor on a request (for pages and API responses).
pub async fn abilities_of(
pool: &PgPool,
actor: &Actor,
request: &ChangeRequest,
) -> AppResult<Abilities>Loads the abilities of actor on a request (for pages and API responses).