-
Notifications
You must be signed in to change notification settings - Fork 157
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
in LDAP , Group Management throws "message":"server is configured read-only"
but web UI isnot read-only
#7986
Comments
I need some information about the expected behaviour here. Is it expected for LDAP to not be able to create new users and groups? In that case we would need to disable these actions - although I doubt this is the case. Looks more like a backend problem, no? AFAIK Web has (and should have) no information about the user backend used. Hence the requests for creating etc. always look the same for each backend. @wkloucek @rhafer You are firm with LDAP as far as I know, could you shed some light here? Maybe also related to owncloud/ocis#5065? |
Currently, the GRAPH api has no way to communicate to Web that it's user management part is read only ( One way to work around it, could be to disable "user-management" in Web by removing it from https://github.com/owncloud/ocis/blob/1329daffc7ff39a322b00a331bdb98bacb3c2189/services/web/pkg/config/defaults/defaultconfig.go#L50 for read-only ldap cases!? |
Even with a read-only LDAP server we currently actually still need the user-management for role-assignment, don't we? So as @wkloucek mentioned we'd need some flag to communicate to the web ui that users and groups are readonly and only roles-assignment should be possible. |
Right, I didn't think about that. |
this is implemented via #9070 |
Description of bug
With oCIS and LDAP as the User Management Backend, we're able to create and delete users, but the request exits with status code
500
(on the both cases) with the following message:The same happens with the groups creation with response:
And when adding user to a group, the request exits again with
500
with the following response:Steps to reproduce
Create
buttonEnvironment general
Operating system:
Backend (ownCloud Core or Infinite Scale): oCIS
Are you using an external user-backend, if yes which one: LDAP
Environment ownCloud Infinite Scale
Version: : owncloud/ocis: 2.0.0-rc.1
Where did you install Infinite Scale from: using documentation https://owncloud.dev/ocis/deployment/ocis_s3/
steps performed during setup :
docker-compose.yml
changed withocis: image: owncloud/ocis:2.0.0-rc.1
Client configuration
Browser: Google Chrome Version 106.0.5249.61 (Official Build) (64-bit)
Operating system: Ubuntu 22.04 LTS
Additional Information
Screencast.from.17-11-22.04.29.17.+0545.webm
The text was updated successfully, but these errors were encountered: