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]: App permission for groups - broken group list #46634

Open
5 of 8 tasks
intervisionlord opened this issue Jul 19, 2024 · 6 comments · May be fixed by #48504
Open
5 of 8 tasks

[Bug]: App permission for groups - broken group list #46634

intervisionlord opened this issue Jul 19, 2024 · 6 comments · May be fixed by #48504

Comments

@intervisionlord
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

Unable to select group wich can use application
image

Steps to reproduce

  1. Go to app wich supports group permissions
  2. Set "limit to groups"
  3. Click on selector
  4. No groups suggested
  5. Start to fill this field
  6. Relevant group appears
  7. Select it
  8. Selector does not filled by this group
    image
    image

Expected behavior

Correct suggestions in selector
Correct adding to selector

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 28.0.1 to 28.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@intervisionlord intervisionlord added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 19, 2024
@joshtrichards joshtrichards added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Jul 19, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Jul 19, 2024

Reproduced. Thanks for reporting.

Visually it then breaks that setting for other apps one clicks through.

On the other hand, it seems to actually set the parameter (after reloading the page).

@joshtrichards joshtrichards changed the title [Bug]: App permission for groups - brokn list [Bug]: App permission for groups - broken group list Jul 19, 2024
@intervisionlord
Copy link
Author

Reproduced. Thanks for reporting.

Visually it then breaks that setting for other apps one clicks through.

On the other hand, it seems to actually set the parameter (after reloading the page).

Yes, technicaly the functionality works, this bug affects only appearence (visual part) (sry for my english)

@yannicklescure
Copy link

@joshtrichards Is someone already working on fixing that bug ? Otherwise, I'd like to try working on it.

@joshtrichards
Copy link
Member

joshtrichards commented Sep 18, 2024

@yannicklescure No one is currently. I was just sitting down to bring together a couple interrelated matters:

I suspect these can all be solved at at once.

Code is here:

<label :for="`groups_enable_${app.id}`">{{ t('settings', 'Limit to groups') }}</label>

Potentially of note is a similar use case which seems to work reasonably well so it might serve as a useful model:

<h3>{{ t('settings', 'Limit to groups') }}</h3>

It can be found under Admin->Security in the UI..

@yannicklescure
Copy link

@joshtrichards Thank you. I setup a dev environnement and I'll try to give it a shot this week. :)

@yannicklescure
Copy link

@joshtrichards Here's the fix #48504 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants