Users with the "swh.web.admin.list_deposits" permission (deposit clients)
will be able to access the deposits administration interface.
Only their own deposits will be displayed.
Related to T3174
Paths
| Differential D6518 Authored by anlambert on Oct 20 2021, 2:01 PM.
Details
Summary Users with the "swh.web.admin.list_deposits" permission (deposit clients) Only their own deposits will be displayed. Related to T3174 Test Plan Tests for links and deposits admin view access have been added. Deposits admin view access for deposit clients have also been successfully tested in docker.
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptOct 20 2021, 2:01 PM2021-10-20 14:01:56 (UTC+2) Harbormaster returned this revision to the author for changes because remote builds failed.Oct 20 2021, 2:29 PM2021-10-20 14:29:47 (UTC+2) Comment Actions
nvm that, that's a web build not a deposit one ¯\_(ツ)_/¯ Comment Actions Build was aborted Patch application report for D6518 (id=23688)Rebasing onto ba1801812e... Current branch diff-target is up to date. Changes applied before testcommit a8cfc14b4a5cae4373f9a67725de3e6bd4cad77d Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 19 15:49:03 2021 +0200 admin/deposit: Allow users with permission to list their deposits Users with the "swh.web.admin.list_deposits" permission (deposit clients) will be able to access the deposits administration interface. Only their own deposits will be displayed. Related to T3174 Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1197/ Comment Actions Build is green Patch application report for D6518 (id=23688)Rebasing onto ba1801812e... Current branch diff-target is up to date. Changes applied before testcommit a8cfc14b4a5cae4373f9a67725de3e6bd4cad77d Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 19 15:49:03 2021 +0200 admin/deposit: Allow users with permission to list their deposits Users with the "swh.web.admin.list_deposits" permission (deposit clients) will be able to access the deposits administration interface. Only their own deposits will be displayed. Related to T3174 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1198/ for more details. Comment Actions Build is green Patch application report for D6518 (id=23688)Rebasing onto ba1801812e... Current branch diff-target is up to date. Changes applied before testcommit a8cfc14b4a5cae4373f9a67725de3e6bd4cad77d Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Tue Oct 19 15:49:03 2021 +0200 admin/deposit: Allow users with permission to list their deposits Users with the "swh.web.admin.list_deposits" permission (deposit clients) will be able to access the deposits administration interface. Only their own deposits will be displayed. Related to T3174 See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1199/ for more details. Harbormaster completed remote builds in B24577: Diff 23688.Oct 20 2021, 2:57 PM2021-10-20 14:57:32 (UTC+2) This revision is now accepted and ready to land.Oct 20 2021, 3:01 PM2021-10-20 15:01:38 (UTC+2) Closed by commit rDWAPPSa8cfc14b4a5c: admin/deposit: Allow users with permission to list their deposits (authored by anlambert). · Explain WhyOct 20 2021, 4:05 PM2021-10-20 16:05:12 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 23700 assets/src/bundles/admin/deposit.js
swh/web/admin/deposit.py
swh/web/auth/utils.py
swh/web/common/utils.py
|
why implement the overloaded init if it does nothing more than calling super()?