mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
radicale: Add functional tests for setting access rights
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
24f1967b6a
commit
af018e3018
3 files changed
+71
No files matched your search
@@ -36,3 +36,24 @@ Scenario: Disable radicale application
|
||||
Then the radicale service should not be running
|
||||
And the calendar should not be available
|
||||
And the addressbook should not be available
|
||||
|
||||
Scenario: Owner-only access rights
|
||||
Given the radicale application is enabled
|
||||
And the access rights are set to "any user can view, but only the owner can make changes"
|
||||
When I change the access rights to "only the owner can view or make changes"
|
||||
Then the radicale service should be running
|
||||
And the access rights should be "only the owner can view or make changes"
|
||||
|
||||
Scenario: Owner-write access rights
|
||||
Given the radicale application is enabled
|
||||
And the access rights are set to "only the owner can view or make changes"
|
||||
When I change the access rights to "any user can view, but only the owner can make changes"
|
||||
Then the radicale service should be running
|
||||
And the access rights should be "any user can view, but only the owner can make changes"
|
||||
|
||||
Scenario: Authenticated access rights
|
||||
Given the radicale application is enabled
|
||||
And the access rights are set to "only the owner can view or make changes"
|
||||
When I change the access rights to "any user can view or make changes"
|
||||
Then the radicale service should be running
|
||||
And the access rights should be "any user can view or make changes"
|
||||
Reference in new issue
Block a user