Skip to content

[user account] can't change self data #6012

@PapillonMcGill

Description

@PapillonMcGill

Describe the bug
A user trying to modify it's own personnal data will fail with the message Please set pending approval Yes or No

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Log in as a user with modify user_account permission
  2. Change some setting
  3. Click on save
  4. See error

What did you expect to happen?
That the modification is accepted and no need to enter a confirmation that is not present.
The user can't confirm themself which is Ok but that should not block user modifying other parameters (like personnal data)

Browser Environment (please complete the following information):

  • OS: Linux (Debian)
  • Browser FireFox
  • Version 68.4.1

Server Environment (if known):

  • LORIS Version: 22
  • Linux distribution and Version: Ubuntu 16.04
  • MySQL/MariaDB Version: MySQL 5.7

Additional context
User have ALL permission except Highlander

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: BugPR or issue that aims to report or fix a bugState: Discussion requiredPR or issue that requires the resolution of a discussion with the relevant parties to proceed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions