Skip to content

Commit ca1f381

Browse files
Revert to using x-nmos-control namespace for IS-12
1 parent ade02a7 commit ca1f381

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Authorization Practice.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,15 @@ matching resource role paths. These represent device model role paths and MUST b
156156
For example, offering read access to the IS-12 receiver monitor object identified by a role path of 'root.receiver-monitors.monitor-01' only would require the following token claim.
157157

158158
```
159-
"x-nmos-ncp": {
159+
"x-nmos-control": {
160160
"read": ["root.receiver-monitors.monitor-01"]
161161
}
162162
```
163163

164164
Alternatively, offering read access to all IS-12 device model objects may be given with the following token claim which uses the wildcard '*'.
165165

166166
```
167-
"x-nmos-ncp": {
167+
"x-nmos-control": {
168168
"read": ["root.*"]
169169
}
170170
```
@@ -176,7 +176,7 @@ Access to invoke object methods MUST only be given if the token claim includes a
176176
The following is a token claim example which offers access to modify properties and invoke methods on the receiver monitor object identified by a role path of 'root.receiver-monitors.monitor-01'.
177177

178178
```
179-
"x-nmos-ncp": {
179+
"x-nmos-control": {
180180
"read": ["root.receiver-monitors.monitor-01"],
181181
"write": ["root.receiver-monitors.monitor-01"]
182182
}
@@ -185,7 +185,7 @@ The following is a token claim example which offers access to modify properties
185185
The following is a token claim example which uses the wildcard '*' and offers access to modify properties and invoke methods on any device model object.
186186

187187
```
188-
"x-nmos-ncp": {
188+
"x-nmos-control": {
189189
"read": ["root.*"],
190190
"write": ["root.*"]
191191
}
@@ -194,7 +194,7 @@ The following is a token claim example which uses the wildcard '*' and offers ac
194194
A token claim could also offer asymmetrical access like in the following example which only allows write access to a specific path, whilst allowing the entire device model to be read.
195195

196196
```
197-
"x-nmos-ncp": {
197+
"x-nmos-control": {
198198
"read": ["root.*"],
199199
"write": ["root.receiver-monitors.monitor-01"]
200200
}

0 commit comments

Comments
 (0)