Shared checkbox in networks should not be shown if non-admin users are not allowed to touch.

Bug #1651626 reported by Han Chao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Wishlist
Han Chao

Bug Description

Currently, an admin user is allowed by the policy to create or update a network with the attribute of 'shared' checkbox during the creating workflow or the updating form. However, a non-admin user is not allowed by the policy to create or update the 'shared' attribute for the network.

The current implementation for non-admin users of this process is to present the 'shared' checkbox. This checkbox is disabled, namely not allowed to touch, and with help text of 'Non admin users are not allowed to set shared option.'.

By function point of view, this is correct with no problem. But from my opinion, non-admin users would try to tick the checkbox and then see that it is not allowed by the help text. This makes non-admin users confused. If this is not allowed to use by non-admin users, why not just make it invisible to non-admin users.

This is my concern to improve the use case.

Han Chao (hanchao-v)
Changed in horizon:
assignee: nobody → Han Chao (hanchao-v)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/413380

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/413380
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=c9034ec7ae2155db3e746818537bdd4932cb44d1
Submitter: Jenkins
Branch: master

commit c9034ec7ae2155db3e746818537bdd4932cb44d1
Author: hanchao <email address hidden>
Date: Wed Dec 21 11:00:46 2016 +0800

    Remove shared checkbox for non-admin users when doing network things.

    Non-admin users are not allowed to touch the 'shared' checkbox when
    creating or updating networks. It is better to make this invisible
    to non-admin users instead of presenting it but not allowed to touch.

    Change-Id: Ia5ed186b22f8658866c3a2b2acdde8053d176d81
    Closes-Bug: #1651626

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
milestone: none → ocata-rc1
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.0.0rc1

This issue was fixed in the openstack/horizon 11.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.