Skip to content

Commit

Permalink
Merge pull request #7310 from brionmario/fix-22141
Browse files Browse the repository at this point in the history
Add `actions` feature RBAC configs `J2` mappings
  • Loading branch information
brionmario authored Jan 16, 2025
2 parents c20058e + fd20ec0 commit 0c0c9ff
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-kids-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Add missing `actions` feature RBAC config `J2` mappings
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,36 @@
},
{% endfor %}
{% endif %}
{% if console.actions is defined %}
"actions": {
"disabledFeatures": [
{% if console.actions.disabled_features is defined %}
{% for feature in console.actions.disabled_features %}
"{{ feature }}"{{ "," if not loop.last }}
{% endfor %}
{% endif %}
],
"enabled": {% if console.actions.enabled is defined %} {{ console.actions.enabled }},
{% else %} true,
{% endif %}
"scopes": {
{% if console.actions.scopes is defined %}
{% for operation, scopes in console.actions.scopes.items() %}
"{{ operation }}": [
{% for scope in scopes %}
"{{ scope }}"{{ "," if not loop.last }}
{% endfor %}
]{{ "," if not loop.last }}
{% endfor %}
{% else %}
"create": [],
"read": [],
"update": [],
"delete": []
{% endif %}
}
},
{% endif %}
{% if console.login_and_registration is defined %}
"loginAndRegistration": {
"disabledFeatures": [
Expand Down

0 comments on commit 0c0c9ff

Please sign in to comment.