Project

General

Profile

Bug #2202

Add new permissions for actions currently missing them

Added by Dominic Cleal over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authorization
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

#2198 added a test that contains a list of routes which currently have no associated permission, so they're all admin-only. New permissions should be added and/or routes added to existing permissions where applicable.

    "audits/create", "audits/destroy", "audits/edit", "audits/new", "audits/update",
    "compute_resources/test_connection",
    "compute_resources_vms/console", "compute_resources_vms/edit", "compute_resources_vms/new", "compute_resources_vms/update",
    "config_templates/build_pxe_default",
    "facts/index", "facts/show",
    "hostgroups/nest",
    "hosts/multiple_build", "hosts/multiple_puppetrun", "hosts/submit_multiple_enable", "hosts/update_multiple_puppetrun",
    "hosts/pending", "hosts/puppetrun", "hosts/pxe_config", "hosts/show_search", "hosts/storeconfig_klasses",
    "images/create", "images/destroy", "images/edit", "images/index", "images/new", "images/show", "images/update",
    "locations/assign_all_hosts", "locations/assign_hosts", "locations/assign_selected_hosts",
    "locations/clone_taxonomy", "locations/import_mismatches", "locations/mismatches", "locations/step2",
    "organizations/assign_all_hosts", "organizations/assign_hosts", "organizations/assign_selected_hosts",
    "organizations/clone_taxonomy", "organizations/import_mismatches", "organizations/mismatches", "organizations/step2",
    "lookup_values/create", "lookup_values/destroy", "lookup_values/index", "lookup_values/update",
    "notices/destroy",
    "operatingsystems/bootfiles",
    "puppetclasses/obsolete_and_new",
    "subnets/create_multiple", "subnets/import",
    "trends/count" 

Related issues

Related to Foreman - Feature #985: no permission corresponds to 'Run Puppet' featureResolved2011-06-14
Related to Foreman - Bug #2221: non admin user can't set build flag for multiple hosts.Closed2013-02-19
Related to Foreman - Bug #2248: Authorization of API actions should match app permissionsClosed2013-02-25

Associated revisions

Revision 66b40d57 (diff)
Added by Dominic Cleal about 6 years ago

fixes #2202 - add all unassigned actions to appropriate permissions

History

#1 Updated by Dominic Cleal over 6 years ago

  • Status changed from New to Assigned

#2 Updated by Dominic Cleal over 6 years ago

  • Status changed from Assigned to Ready For Testing

#3 Updated by Dominic Cleal about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF