Provide a configurable option to disable functioanilty for user 1

Created on 25 August 2024, 5 months ago

Problem/Motivation

At the moment, it seems user 1 cannot bypass the hide submit functionality, there's a condition for non user 1, but with it as it stands there's no way for user/1 to actually bypass..

    if ($this->currentUser->hasPermission('bypass hide submit') && $this->currentUser->id() != 1) {
      return;
    }

Steps to reproduce

Proposed resolution

  1. Setting to disable hide submit for user/1
πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom aaron.ferris

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024