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:
James Valleroy authored and Sunil Mohan Adapa committed 2019-01-26 22:06:57 -08:00
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"