-
Notifications
You must be signed in to change notification settings - Fork 6
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
files: add files permissions to organisations and collections #357
Conversation
a552074
to
c7f0528
Compare
@@ -66,6 +66,7 @@ export class AdminComponent implements OnInit, OnDestroy { | |||
if (!(this._userService.isDedecatedOrganisation())) { | |||
sections = ['organisations', 'users']; | |||
} | |||
console.log(sections); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed?
], | ||
canAdd: () => of({ can: true, message: '' }), | ||
canRead: (record: any, file: any) => { | ||
console.log('bla', file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
return of({ can: false, message: '' }); | ||
}, | ||
canUpdateMetadata: (record: any, file: any) => { | ||
console.log('update') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
Co-Authored-by: Johnny Mariéthoz <[email protected]>
c7f0528
to
5015c02
Compare
No description provided.