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

Unable to set group to the custom created users #126

Open
freakster00 opened this issue Mar 11, 2023 · 4 comments
Open

Unable to set group to the custom created users #126

freakster00 opened this issue Mar 11, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@freakster00
Copy link

I created groups and then i tried to assign them to my custom created users.After assigning the user with respected group and then saving all the changes,When i try i open that edit user page again I don't see the group getting ticked mark in the edit page.
Is this a backend bug ?

@freakster00
Copy link
Author

freakster00 commented Mar 11, 2023

{
"data": {
"id": "d104ce00-94ec-4a68-ab14-a8daf5c328ff",
"attributes": {
"username": "test",
"email": "[email protected]",
"first_name": "test",
"last_name": "test",
"is_active": true,
"is_staff": true,
"is_superuser": false,
"date_joined": "2023-03-11T06:21:47.241940+01:00",
"perm_codenames": []
},
"relationships": {
"home_folder": {
"data": {
"type": "folders",
"id": "0721d7a5-7560-41d9-bbee-6d66f1d68076"
}
},
"inbox_folder": {
"data": {
"type": "folders",
"id": "f557e317-4ce2-4419-824c-499d5829f526"
}
},
"groups": {
"data": []
}
},
"type": "users"
}
}

This seems to be the patch request send from frontend after making necessary changes

@freakster00
Copy link
Author

freakster00 commented Mar 11, 2023

image
After submitting these forms ,When i go to edit that user again i dont see that group ticked
image

@freakster00
Copy link
Author

@ciur any comment?

@ciur
Copy link
Member

ciur commented Mar 14, 2023

yes, sounds like a bug. I am not sure on which side it is (backend/frontend) though.

@ciur ciur self-assigned this Mar 19, 2023
@ciur ciur added the bug Something isn't working label Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants