Skip to content

Conversation

@RubenVerborgh
Copy link
Contributor

Avoid that the same .acl files are read and parsed multiple times per request.

@RubenVerborgh
Copy link
ContributorAuthor

@dmitrizagidulin You might want to have this as a merge commit rather than rebase, in order to keep the commits together.

@dmitrizagidulin
Copy link
Contributor

@RubenVerborgh good call, re merge


// Check the resource's permissions
returnthis._permissionSet.then(acls=>this.checkAccess(acls,user,mode))
.catch(err=>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be indented? Something like:

returnthis._permissionSet.then(acls=>this.checkAccess(acls,user,mode)).catch(err=>{})

?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, will do. (standard didn't complain; but I'd be the last person to say that it is a good style checker 😉)

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in bda7426, let me know if more indentation needs adjustments.

@dmitrizagidulin
Copy link
Contributor

Oh man, great work on this!

@dmitrizagidulindmitrizagidulin merged commit 3161b68 into dz_oidcAug 18, 2017
@dmitrizagidulindmitrizagidulin deleted the feature/cache-acl branch August 18, 2017 18:57
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@RubenVerborgh@dmitrizagidulin