owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.4k stars 183 forks source link

[QA] Sharing NG #7932

Open micbar opened 11 months ago

micbar commented 11 months ago

Organisational overview of all QA

Related to https://github.com/owncloud/ocis/issues/6993

Prerequisites

Start ocis with the default config.

1) Resharing is controlled by OCIS_ENABLE_RESHARING

Recommendation: Decide before you deploy, if you change it, the existing Shares will not be converted.

New User / Group Lookup

Regular users can search for other users and groups. The following limitations apply:

Referencing https://github.com/owncloud/ocis/issues/7782 for the qa team.

Collecting bugs:

ScharfViktor commented 10 months ago

After discussion with @individual-it we decided to implement the new sharing ng tests separately from the existing api tests.

adapting new api to existing tests can be complicated and slow down test development.

so we need:

  1. create a new ApiShare suite with LinkContext.php ShareContext.php and using existing graphHelper.php

  2. start to write tests for this endpoinds: https://owncloud.dev/libre-graph-api/#/roleManagement https://owncloud.dev/libre-graph-api/#/drives.permissions

  3. reuse existing cases but don't delete old tests (we'll delete them after 6 months)

  4. pay attention to permissions, security stuff (negative cases when an unauthorized or unauthorized user tries to do something)

  5. use wording appropriate to the api request like user gets sharing permissions for a file|folder

also for https://github.com/owncloud/cs3api-validator need create some positive CRUD tests:

ScharfViktor commented 10 months ago

First test already created: https://github.com/owncloud/ocis/pull/7946 cc @individual-it @saw-jan

saw-jan commented 9 months ago

QA sub issues: