[BP 7.1.1 MB-51442] - [Eventing RBAC][UI] Unable to modify function settings when user has only eventing_manage_functions role

Description

Issue
Any rbac user having eventing_manage_functions role with no data privileges is attached is unable to modify function settings for any given handler.

steps to reproduce

  1. Create eventing handler abcd using full admin role.

  2. Create rbac user user1 having following role.

  3. Login as user1.

  4. User is unable to modify function settings, save button is disabled.

  5. No such issues observed in REST.

  6. Add following data privileges for user1 in addition to manage scope functions role.

  7. Login as user1, user is able to modify and save function settings.

Components

Affects versions

Fix versions

Labels

Environment

Enterprise Edition 7.1.0 build 2480

Link to Log File, atop/blg, CBCollectInfo, Core dump

None

Release Notes Description

None

Activity

Show:

CB robot October 7, 2022 at 8:53 AM

Build couchbase-server-7.2.0-5000 contains eventing commit 88731e5 with commit message:
: Fix issue to enable user to modify function settings if s/he

Sujay Gad July 1, 2022 at 9:45 AM

Validated the fix on 7.1.2-3340.

CB robot June 17, 2022 at 1:13 PM

Build couchbase-server-7.1.2-3313 contains eventing commit 88731e5 with commit message:
: Fix issue to enable user to modify function settings if s/he

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Is this a Regression?

No

Triage

Untriaged

Operating System

Centos 64-bit

Story Points

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 30, 2022 at 4:33 AM
Updated October 7, 2022 at 8:53 AM
Resolved June 20, 2022 at 5:41 AM
Instabug