allow admin for settings
This commit is contained in:
1 parent
5c66ad1990
commit
4954468a9a
1 file changed
+1
-1
@@ -12,7 +12,7 @@ class SettingsRoutes {
|
||||
this.router.get("/", this.settingsController.getAppSettings);
|
||||
this.router.put(
|
||||
"/",
|
||||
isAllowed(["superadmin"]),
|
||||
isAllowed(["admin", "superadmin"]),
|
||||
this.settingsController.updateAppSettings
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user