Project

General

Profile

Bug #9819

Save button shown even no permission to change it

Added by Janos Mattyasovszky 11 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
0

Description

I have an user logged in on 4.0.1 with roles: read_only,user,deployment_read,directive_read,directive_edit,directive_write,technique_read,technique_edit,technique_write.

I still have a "Save changes" Button on the general settings page, and when I try to change the global policy mode from Enforce to Audit, I get an error message because I have no permission to do that:

IMHO there should be no Save button visible at all?

rudder-jetty-4.0.1.release-1.SLES.11
rudder-techniques-4.0.1.release-1.SLES.11
rudder-server-root-4.0.1.release-1.SLES.11
rudder-reports-4.0.1.release-1.SLES.11
rudder-inventory-ldap-4.0.1.release-1.SLES.11
rudder-webapp-4.0.1.release-1.SLES.11
rudder-agent-4.0.1.release-1.SLES.11
rudder-inventory-endpoint-4.0.1.release-1.SLES.11

Error_saving_policy_mode.png (13.1 KB) Janos Mattyasovszky, 2016-12-19 17:03

Associated revisions

Revision 800879b3
Added by Raphaël Gauthier 9 months ago

Fixes #9819: Save button shown even no permission to change it

History

#1 Updated by Janos Mattyasovszky 11 months ago

OTOH good news: that's the only save button I see ;-)

#2 Updated by Janos Mattyasovszky 11 months ago

  • Found in version(s) old 4.0.1 added
  • Found in version(s) old deleted (4.0.0)

#3 Updated by Janos Mattyasovszky 11 months ago

  • Description updated (diff)

#4 Updated by Benoît PECCATTE 9 months ago

  • Found in version (s) 4.0.1 added

#5 Updated by Benoît PECCATTE 9 months ago

  • Found in version(s) old deleted (4.0.1)

#6 Updated by Benoît PECCATTE 9 months ago

  • Category set to Web - UI & UX
  • Assignee set to Raphael GAUTHIER
  • Target version set to 4.0.4

#7 Updated by Raphael GAUTHIER 9 months ago

  • Status changed from New to In progress

#8 Updated by Raphael GAUTHIER 9 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/1561

#9 Updated by Anonymous 9 months ago

  • Status changed from Pending technical review to Pending release

#10 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released
  • Priority set to 0

This bug has been fixed in Rudder 4.0.4 and 4.1.1 which were released today.

Also available in: Atom PDF