Bug #27000
closedDatasources edition has action buttons even for read-only user
Description
Datasources should only be editable with admin write rights.
But in the datasource page when initializing the Elm app the right rule_write
is passed to put the Elm in write mode : the app has all "Save", "Delete" buttons, as long as they have the rule_write
, but they will get a notification error when attempting a modification.
The right passed to initialize the Elm app is adminitration_write
Updated by Clark ANDRIANASOLO about 2 months ago
- Description updated (diff)
- Priority changed from N/A to To review
- Target version set to 8.2
- Severity set to Minor - inconvenience | misleading | easy workaround
- UX impact set to I dislike using that feature
- User visibility set to Operational - other Techniques | Rudder settings | Plugins
- Effort required set to Very Small
- Priority changed from 0 to 85
The file in which the right should be changed is https://github.com/Normation/rudder-plugins/blob/branches/rudder/8.3/datasources/src/main/resources/template/dataSourceManagement.html#L12
Updated by François ARMAND about 1 month ago
- Assignee set to Clark ANDRIANASOLO
- Priority changed from To review to 1 (highest)
P1 because very small
Updated by Clark ANDRIANASOLO about 1 month ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO about 1 month ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to Raphael GAUTHIER
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/844
Updated by Clark ANDRIANASOLO about 1 month ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|2c949ed6b99647c37af8a72dc7adf15996ef5710.
Updated by Félix DALLIDET 2 days ago
- Status changed from Pending release to Released
- Priority changed from 85 to 84
This bug has been fixed in Rudder plugin datasources v8.3.3-2.4