Hi All,
People have being asking this for some time and I've sent a PR with the
necessary changes that allow users to define attributes to resources.
This is another important improvement to our policy evaluation engine given
that policies are now able to come up with a decision based on attributes
associated with a resource.
The implementation [1] is pretty much similar to what we have for user
attributes. Please let me know if you have any consideration at this regard.
[1]
https://github.com/keycloak/keycloak/pull/5079
Regards.
Pedro Igor