mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 19:10:01 +00:00
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
module.exports = {
|
||
|
async getPermissions(ctx) {
|
||
|
const actionsMap = await strapi.contentAPI.permissions.getActionsMap();
|
||
|
|
||
|
ctx.send({ data: actionsMap });
|
||
|
},
|
||
|
};
|