Skip to content

Commit

Permalink
[stable-4.3] Fix group_permissions spec to ignore private container p…
Browse files Browse the repository at this point in the history
…ermissions (#508) (#511)

manually cherry-picked from 2edc1a5
  • Loading branch information
himdel authored Jun 4, 2021
1 parent f137355 commit fdbd5d9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,18 @@ const allPerms = [{
},{
group: 'remotes', permissions: ['Change collection remote', 'View collection remote']
}, {
group: 'execution.environments', permissions: ['Change execution environment namespace permissions', 'Change execution environments', 'Change image tags', 'Pull private execution environments', 'View private execution environments']
group: 'containers',
permissions: [
// Turning off private container permissions since they aren't supported yet
// 'Pull private containers', // container.namespace_pull_containerdistribution
// 'View private containers', // container.namespace_view_containerdistribution

'Change container namespace permissions',
'Change containers',
'Change image tags',
'Create new containers',
'Push to existing containers',
],
}];

Cypress.Commands.add('removeAllPermissions', {}, (groupName) => {
Expand Down

0 comments on commit fdbd5d9

Please sign in to comment.