luci2: add view for managing LuCI2 login accounts
[project/luci2/ui.git] / luci2 / share / acl.d / luci2.json
index e912e17..64974e8 100644 (file)
@@ -1,4 +1,15 @@
 {
+       "unauthenticated": {
+               "description": "Functions allowed for unauthenticated requests",
+               "read": {
+                       "ubus": {
+                               "luci2.ui": [
+                                       "themes"
+                               ]
+                       }
+               }
+       },
+
        "core": {
                "description": "Core functions for LuCI",
                "read": {
@@ -7,7 +18,8 @@
                                        "*"
                                ],
                                "session": [
-                                       "access"
+                                       "access",
+                                       "destroy"
                                ],
                                "uci": [
                                        "*"
                }
        },
 
+       "users": {
+               "description": "Guest login settings",
+               "read": {
+                       "uci": [
+                               "rpcd"
+                       ]
+               },
+               "write": {
+                       "uci": [
+                               "rpcd"
+                       ]
+               }
+       },
+
        "software": {
                "description": "Package management",
                "read": {