Operation link should be checked by current user.

Created on 15 May 2023, about 1 year ago
Updated 2 September 2023, 10 months ago

Problem/Motivation

Steps to reproduce

1. Add operation link to /admin/people page using view module.
2. Create a new role called site_manager.
3. Assign 'setup own tfa' and 'administer users' permission to site_manager role.
4. Create 2 users with site_manager role: site_manager1 and site_manager2
5. Login with site_manager1 then go to /admin/people page, will see TFA operation link on site_manager2 row.
6. Login with site_manager2 then go to /admin/people page, will see TFA operation link on site_manager1 row.

Correct.
5. Login with site_manager1 then go to /admin/people page, will see only TFA operation link on site_manager1 row.
6. Login with site_manager2 then go to /admin/people page, will see only TFA operation link on site_manager2 row.

Proposed resolution

TFA Operation link should be checked by current user.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡»πŸ‡³Vietnam tannguyenhn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024