Repeated HTTP error popups if user without perms.permissions.item.put tries to edit a permission set

Description

This is because we allow users with perms.permissions.get to see the permission sets, but they need perms.permissions.item.put for the update operation that happens whenever you leave a field.

The simplest fix is to make the fields readonly.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike Taylor May 3, 2017 at 1:51 PM

The simplest way to do this was to use redux-form's field-disabling functionality so that users without perms.permissions.item.put can see the fields but not enter them (and therefore not leave them, which is what triggers the HTTP operation).

Fixed in https://github.com/folio-org/ui-users/commit/d220757768477cd878b2387976932f31af919943

Done

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 3, 2017 at 1:08 PM
Updated May 3, 2017 at 1:51 PM
Resolved May 3, 2017 at 1:51 PM
TestRail: Cases
TestRail: Runs