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

[bug] Allow/Deny not applying for New Public Registration User #187

Open
viaprotocol888 opened this issue Jan 14, 2025 · 0 comments
Open

Comments

@viaprotocol888
Copy link

Describe the bug
Saved Allow/Deny rules for tags and custom column values not applying to new users created under public registration.

Manual account creation correctly follows the Allow/Deny rules set in Default Visibilities for New Users, but not when new users self-register when public registration is on.

To Reproduce
Steps to reproduce the behavior:

Confirm Public Registration is On

  1. Go to Settings > Basic Configuration > Expand "Feature Configuration"
  2. Check the "Enable Public Registration" checkbox
  3. Click "Save" at the bottom right of "Basic Configuration"

Set default allow/deny tags for new users

  1. Go to Settings > Edit UI Configuration > Expand "Default Visibilities for New Users"
  2. Click on 'Add Allowed/Denied Tags' button
  3. In the modal window, "Select Allowed/Denied Tags", enter a tag, eg. "MyDeniedTag", and click the "Deny" button.
  4. "MyDeniedTag" and "Denied" rule will appear in a table to confirm the addition. Click "Close" button.
  5. Click "Save" at the bottom right of the UI Configuration
  6. Sign out, or open another session with a different browser.

Register a New User and Confirm Bug

  1. Go to login page, and select Register
  2. Register a new user
  3. Lookup the new user's account with an admin account.
  4. Note the default Allow/Deny rule is not applied to the new user.

If a new user is created manually, however, the default rule is applied correctly.

Expected behavior
The publicly registered user account should retain the default Allow/Deny rules set in Default Visibilities for New Users.

Configuration(please complete the following information):

  • Hardware: Synology NAS
  • DSM 7.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant