Commit 2bf8c286 authored by Yannis Barlas's avatar Yannis Barlas

Merge branch 'authorize-fix' into 'master'

fix(authorize): fix for correct props propagation

See merge request !360
parents da4eff89 5de8ea88
Pipeline #8392 passed with stages
in 7 minutes and 56 seconds
......@@ -23,11 +23,6 @@ export class Authorize extends React.Component {
shouldComponentUpdate(nextProps, nextState) {
if (this.state.authorized === nextState.authorized) return false
return true
async checkAuth({ authsome, currentUser, operation, object }) {
try {
const authorized = await authsome.can(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment