https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
b

bitter-arm-6486

12/06/2021, 6:19 PM
Hi, for profile updates, does the settings flow expect all traits in the identity to be present or only the changed fields? What if we have some traits that shouldn't be changed by users (hence we don't want to include it in the form), if the post expects all fields it'll cause some issues if they are set to null by default.
f

future-ambulance-20226

12/06/2021, 6:33 PM
all the traits should be included despite what the user want to change
b

bitter-arm-6486

12/06/2021, 6:34 PM
Is there a way to set something unique to a user that is admin only? (I.e. users shouldn't ever be able to change it), such as tiers of users etc
f

future-ambulance-20226

12/06/2021, 6:37 PM
I think no because is not in the purpose of kratos. Kratos is just for authentication if you want add permissions/role stuffs take a look to ory keto that take care of authorization part in the ory ecosystem.
b

bitter-arm-6486

12/06/2021, 6:37 PM
Thanks
f

future-ambulance-20226

12/06/2021, 6:38 PM
you’re welcome
3 Views