-
Notifications
You must be signed in to change notification settings - Fork 20
Jan Leißner edited this page Feb 12, 2019
·
11 revisions
Beispielrolle: 'test_Learner', mit 'read = true':
wird zu :
<ace><role>test_Learner</role><action>read</action><allow>true</allow></ace>
Und im Gesamtpaket als POST-Body dann zu:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><acl xmlns="http://org.opencastproject.security">
<ace><role>test_Learner</role><action>read</action><allow>true</allow></ace></acl>
Wichtig: Bei der so neu definierten AccessControlList muss mindestens ein Benutzer mit Schreib- und Leserechten existieren! Sollte das der Admin sein:
<ace><role>ROLE_ADMIN</role><action>read</action><allow>true</allow></ace></acl>
<ace><role>ROLE_ADMIN</role><action>write</action><allow>true</allow></ace></acl>
### Serien:
```Method / Path: POST /{seriesID:.+}/accesscontrol ```
### Episoden:
```Method / Path: POST /{seriesID:.+}/accesscontrol ```