clean comment

This commit is contained in:
Alexandre Bodin 2023-03-07 08:41:07 +01:00
parent 8278afe3f3
commit e3a4b431ba

View File

@ -11,55 +11,6 @@ const enableFeatureMiddleware = (featureName) => (ctx, next) => {
};
module.exports = [
// {
// method: 'POST',
// path: '/roles',
// handler: 'role.create',
// config: {
// policies: [
// 'admin::isAuthenticatedAdmin',
// {
// name: 'admin::hasPermissions',
// config: {
// actions: ['admin::roles.create'],
// },
// },
// ],
// },
// },
// {
// method: 'DELETE',
// path: '/roles/:id',
// handler: 'role.deleteOne',
// config: {
// policies: [
// 'admin::isAuthenticatedAdmin',
// {
// name: 'admin::hasPermissions',
// config: {
// actions: ['admin::roles.delete'],
// },
// },
// ],
// },
// },
// {
// method: 'POST',
// path: '/roles/batch-delete',
// handler: 'role.deleteMany',
// config: {
// policies: [
// 'admin::isAuthenticatedAdmin',
// {
// name: 'admin::hasPermissions',
// config: {
// actions: ['admin::roles.delete'],
// },
// },
// ],
// },
// },
// SSO
{
method: 'GET',