-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #16854: Users with readonly rights should be able to view the node properties and their value #2856
Conversation
ea46362
to
0b9146c
Compare
Commit modified |
0b9146c
to
b697cf0
Compare
Commit modified |
@@ -102,12 +102,12 @@ | |||
<small class="text-danger" ng-if="!editedProperties[property.name].new.isValid">JSON check is enabled, but the value format is invalid</small> | |||
</div> | |||
</td> | |||
<td class="text-center" ng-class="{'default-actions':!isEdited(property.name), 'edit-actions is-edited':isEdited(property.name)}"> | |||
<div ng-if="!isEdited(property.name) && property.rights !== 'read-only'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should not remove this, it's to prevent edition of inventory/datasources properties that cannot be modified
PR updated with a new commit |
@@ -94,10 +95,8 @@ app.controller('nodePropertiesCtrl', function ($scope, $http, DTOptionsBuilder, | |||
DTColumnDefBuilder.newColumnDef(2).withOption("sWidth",'5%') | |||
]; | |||
var currentNodeId | |||
$scope.init = function(properties, nodeId, right){ | |||
if(!right){ | |||
$scope.columns[2].notVisible(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could have just changed the 2 to a 3 here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tab disapear when I used column 3
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
…ode properties and their value
7c786ee
to
0367283
Compare
https://issues.rudder.io/issues/16854