We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi If I have dynamic access like following
data: { permission: { only: function (transitionProperties) { if (transitionProperties.toParams.type === "A") { return [PERMISSIONS.A]; } else if (transitionProperties.toParams.type === "B") { return [PERMISSIONS.B]; } } } }
I cannot use permission-sref in my view, any workaround for this?
permission-sref
The text was updated successfully, but these errors were encountered:
+1, the data.permission.only function only runs when the transition is attempted instead of running with
<div permission permission-sref="'state'"></div>
in the view.
Sorry, something went wrong.
No branches or pull requests
Hi
If I have dynamic access like following
I cannot use
permission-sref
in my view, any workaround for this?The text was updated successfully, but these errors were encountered: