Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:techref:ubus [2023/12/22 11:56] – Add required 'Content-type: application/json' to curl examples. mikma | docs:techref:ubus [2024/12/16 21:52] (current) – [ACLs] stokito | ||
|---|---|---|---|
| Line 222: | Line 222: | ||
| The default ACL, listed below, __only__ defines the login methods, so you can log in, but you still wouldn' | The default ACL, listed below, __only__ defines the login methods, so you can log in, but you still wouldn' | ||
| - | < | + | < |
| { | { | ||
| " | " | ||
| Line 242: | Line 242: | ||
| Placing this file in ''/ | Placing this file in ''/ | ||
| - | < | + | < |
| { | { | ||
| " | " | ||
| Line 271: | Line 271: | ||
| Below is an example of an ACL definition that only allows access to some specific ubus modules, rather than unrestricted access to everything. | Below is an example of an ACL definition that only allows access to some specific ubus modules, rather than unrestricted access to everything. | ||
| - | < | + | < |
| { | { | ||
| " | " | ||
| Line 508: | Line 508: | ||
| Edit ''/ | Edit ''/ | ||
| - | <code bash> | + | <code bash / |
| # / | # / | ||
| config login | config login | ||
| Line 548: | Line 548: | ||
| Example permissions to run ubus calls remote by fhem over http/json. | Example permissions to run ubus calls remote by fhem over http/json. | ||
| - | < | + | < |
| { | { | ||
| " | " | ||