You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I think that UpdateSettings has similar bug to #509 (I don't know java very well, but I guess similar solution would be enough).
API method updateUserSetting require userSetting's id (because it use equals method which compares by mentioned id).
But id has @JsonIgnore attribute - so it won't be loaded to API method, and will throw AccessDaniedException.
As "id" of UserSetting is necessary to update UserSetting maybe just remove this attribute and allow API's users to obtain this ID.
Greetings
Piotr - franiis
PS. I deleted locally this attribute and it's working, but I think that it's worth reporting.
The text was updated successfully, but these errors were encountered:
Hi,
I think that UpdateSettings has similar bug to #509 (I don't know java very well, but I guess similar solution would be enough).
API method updateUserSetting require userSetting's id (because it use equals method which compares by mentioned id).
But id has @JsonIgnore attribute - so it won't be loaded to API method, and will throw AccessDaniedException.
As "id" of UserSetting is necessary to update UserSetting maybe just remove this attribute and allow API's users to obtain this ID.
Greetings
Piotr - franiis
PS. I deleted locally this attribute and it's working, but I think that it's worth reporting.
The text was updated successfully, but these errors were encountered: