Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add actions feature RBAC configs J2 mappings #7310

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading