Skip to content

Commit

Permalink
subadmin and app-enable-disable-list are notToImplementOnOCIS
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Sep 2, 2020
1 parent ecd1e3f commit 60cb398
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP
@api @provisioning_api-app-required @app-control @comments-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: disable an app
As an admin
I want to be able to disable an enabled app
Expand All @@ -15,7 +15,6 @@ Feature: disable an app
And the HTTP status code should be "200"
And app "comments" should be disabled

@notToImplementOnOCIS
Scenario: subadmin tries to disable an app
Given user "subadmin" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: enable an app
As an admin
I want to be able to enable a disabled app
Expand All @@ -16,7 +16,6 @@ Feature: enable an app
And app "comments" should be enabled
And the information for app "comments" should have a valid version

@notToImplementOnOCIS
Scenario: subadmin tries to enable an app
Given user "subadmin" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get app info
As an admin
I want to be able to get app info
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @files_sharing-app-required @skipOnLDAP
@api @provisioning_api-app-required @files_sharing-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get apps
As an admin
I want to be able to get the list of apps on my ownCloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get subadmins
As an admin
I want to be able to get the list of subadmins of a group
Expand All @@ -7,7 +7,7 @@ Feature: get subadmins
Background:
Given using OCS API version "1"

@smokeTest @notToImplementOnOCIS
@smokeTest
Scenario: admin gets subadmin users of a group
Given user "brand-new-user" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand All @@ -26,7 +26,6 @@ Feature: get subadmins
And the HTTP status code should be "200"
And the API should not return any data

@notToImplementOnOCIS
Scenario: subadmin tries to get other subadmins of the same group
Given these users have been created with default attributes and skeleton files:
| username |
Expand All @@ -40,7 +39,6 @@ Feature: get subadmins
And the HTTP status code should be "401"
And the API should not return any data

@notToImplementOnOCIS
Scenario: normal user tries to get the subadmins of the group
Given these users have been created with default attributes and skeleton files:
| username |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: disable an app
As an admin
I want to be able to disable an enabled app
Expand All @@ -15,7 +15,7 @@ Feature: disable an app
And the HTTP status code should be "200"
And app "comments" should be disabled

@issue-31276 @notToImplementOnOCIS
@issue-31276
Scenario: subadmin tries to disable an app
Given user "subadmin" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP
@api @provisioning_api-app-required @comments-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: enable an app
As an admin
I want to be able to enable a disabled app
Expand All @@ -15,7 +15,7 @@ Feature: enable an app
And the HTTP status code should be "200"
And app "comments" should be enabled

@issue-31276 @notToImplementOnOCIS
@issue-31276
Scenario: subadmin tries to enable an app
Given user "subadmin" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get app info
As an admin
I want to be able to get app info
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @files_sharing-app-required @skipOnLDAP
@api @provisioning_api-app-required @files_sharing-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get apps
As an admin
I want to be able to get the list of apps on my ownCloud
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @provisioning_api-app-required @skipOnLDAP
@api @provisioning_api-app-required @skipOnLDAP @notToImplementOnOCIS
Feature: get subadmins
As an admin
I want to be able to get the list of subadmins of a group
Expand All @@ -7,7 +7,7 @@ Feature: get subadmins
Background:
Given using OCS API version "2"

@smokeTest @notToImplementOnOCIS
@smokeTest
Scenario: admin gets subadmin users of a group
Given user "brand-new-user" has been created with default attributes and skeleton files
And group "brand-new-group" has been created
Expand All @@ -26,7 +26,7 @@ Feature: get subadmins
And the HTTP status code should be "400"
And the API should not return any data

@issue-31276 @notToImplementOnOCIS
@issue-31276
Scenario: subadmin tries to get other subadmins of the same group
Given these users have been created with default attributes and skeleton files:
| username |
Expand All @@ -41,7 +41,7 @@ Feature: get subadmins
And the HTTP status code should be "401"
And the API should not return any data

@issue-31276 @notToImplementOnOCIS
@issue-31276
Scenario: normal user tries to get the subadmins of the group
Given these users have been created with default attributes and skeleton files:
| username |
Expand Down

0 comments on commit 60cb398

Please sign in to comment.