Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protected fields in mrbs_entry? #3731

Open
stueja opened this issue Aug 22, 2024 · 3 comments
Open

Protected fields in mrbs_entry? #3731

stueja opened this issue Aug 22, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@stueja
Copy link

stueja commented Aug 22, 2024

Describe the problem you're facing/question you have
From systemdefaults.inc.php:

// 'auth_db' configuration settings
// List of fields which only admins can edit.   By default these are the
// user level (ie admin/user) and the username.   Custom fields can be added
// as required.  To protect the password field use 'password_hash' - useful
// for public demo sites.
$auth['db']['protected_fields'] = array('level', 'name', 'display_name');

I assume that the protected fields are fields from the mrbs_users table.

Is there a similar thing for mrbs_entry/mrbs_repeat? Like an additional checkbox for tidied uporbill sent` or whatever which only administrators can edit and see.

Browser details (please complete the following information):

  • OS: macOS 14.6.1
  • Browser Safari 17.6 and Firefox 129.0.1

Server details (please complete the following information):

  • MRBS version 1.11.5
  • Web server: nginx/1.22.1
  • OS: Linux d446d0e82d99 5.15.0-113-generic 123-Ubuntu
  • PHP version: 8.1.20
  • Database used: mariadb 11.4.3
  • database schema: 82
  • version of local database schema 1

Additional context
Add any other context or screenshots about the feature request here.

@stueja stueja added the support request Need assistance with MRBS label Aug 22, 2024
@campbell-m
Copy link
Contributor

Is there a similar thing for mrbs_entry/mrbs_repeat? Like an additional checkbox for tidied uporbill sent` or whatever which only administrators can edit and see.

No, there isn't at the moment, but it's a good idea. I'll change this to an enhancement request,

@campbell-m campbell-m added enhancement New feature or request and removed support request Need assistance with MRBS labels Aug 22, 2024
@campbell-m
Copy link
Contributor

... although users would still be able to view that field if it were protected, just not edit it. As I understand it you don't want them to be able to see or edit the field.

@stueja
Copy link
Author

stueja commented Aug 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants