File tree Expand file tree Collapse file tree
src/Setting/Admin/Controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222use Pimcore \Bundle \StudioBackendBundle \OpenApi \Config \Tags ;
2323use Pimcore \Bundle \StudioBackendBundle \Setting \Admin \Schema \Settings ;
2424use Pimcore \Bundle \StudioBackendBundle \Setting \Admin \Service \SettingsServiceInterface ;
25- use Pimcore \Bundle \StudioBackendBundle \Util \Constant \UserPermissions ;
2625use Symfony \Component \HttpFoundation \JsonResponse ;
2726use Symfony \Component \Routing \Attribute \Route ;
28- use Symfony \Component \Security \Http \Attribute \IsGranted ;
2927use Symfony \Component \Serializer \SerializerInterface ;
3028
3129/**
@@ -46,7 +44,6 @@ public function __construct(
4644 * @throws Exception
4745 */
4846 #[Route(path: self ::ROUTE , name: 'pimcore_studio_api_admin_settings ' , methods: ['GET ' ])]
49- #[IsGranted(UserPermissions::SYSTEM_APPEARANCE_SETTINGS ->value )]
5047 #[Get(
5148 path: self ::PREFIX . self ::ROUTE ,
5249 operationId: 'admin_settings_get ' ,
You can’t perform that action at this time.
0 commit comments