Only admin users should be able to change the user_visible value

Bug #1377230 reported by Sylvain Afchain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Sylvain Afchain

Bug Description

Currently a non admin user is able to create a resource with the user_visible attribute changed. So it means that a user could set a resource that it couldn't not see.

Tags: config
Changed in opencontrail:
assignee: nobody → Sylvain Afchain (sylvain-afchain)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3400
Committed: http://github.org/Juniper/contrail-controller/commit/6e17b4653cda02311d6e09fa7e2abd49ff7aee39
Submitter: Zuul
Branch: master

commit 6e17b4653cda02311d6e09fa7e2abd49ff7aee39
Author: Sylvain Afchain <email address hidden>
Date: Fri Oct 3 18:18:12 2014 +0200

Only allows admin users to change the user_visible

This patch add a check to avoid a non admin user
to change the default user_visible value.

Change-Id: Iba48443f97fe0dac2f63f8350a891bd06ee50f1f
Closes-bug: #1377230

tags: added: config
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.