Add identity.xml.j2 configs for user-functionality-mgt rest api
<Permissions>/permission/admin/manage/identity/identitymgt/delete</Permissions>
<Scopes>internal_identity_mgt_delete</Scopes>
</Resource>
+ <Resource context="(.*)/api/users/v1/me/user-functionality(.*)" secured="true" http-method="GET, PUT">
+ <Permissions>none</Permissions>
+ <Scopes>internal_login</Scopes>
+ </Resource>
+ <Resource context="(.*)/api/users/v1/(.*)/user-functionality(.*)" secured="true" http-method="GET">
+ <Permissions>/permission/admin/manage/identity/identitymgt/view</Permissions>
+ <Scopes>internal_identity_mgt_view</Scopes>
+ </Resource>
+ <Resource context="(.*)/api/users/v1/(.*)/user-functionality(.*)" secured="true" http-method="PUT">
+ <Permissions>/permission/admin/manage/identity/identitymgt/update</Permissions>
+ <Scopes>internal_identity_mgt_update</Scopes>
+ </Resource>
<Resource context="(.*)/api/server/v1/claim-dialects(.*)" secured="true" http-method="POST">
<Permissions>/permission/admin/manage/identity/claimmgt/metadata/create</Permissions>
<Scopes>internal_claim_meta_create</Scopes>
