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

files: add files permissions to organisations and collections #357

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

jma
Copy link
Contributor

@jma jma commented Jan 18, 2024

No description provided.

@jma jma force-pushed the maj-fix-permissions branch from a552074 to c7f0528 Compare January 18, 2024 10:32
@jma jma changed the title Maj fix permissions files: add files permissions to organisations and collections Jan 18, 2024
@jma jma marked this pull request as ready for review January 18, 2024 14:13
@@ -66,6 +66,7 @@ export class AdminComponent implements OnInit, OnDestroy {
if (!(this._userService.isDedecatedOrganisation())) {
sections = ['organisations', 'users'];
}
console.log(sections);
Copy link
Contributor

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);
Copy link
Contributor

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')
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this

@jma jma force-pushed the maj-fix-permissions branch from c7f0528 to 5015c02 Compare January 23, 2024 07:11
@PascalRepond PascalRepond merged commit 7206bdd into rero:staging Jan 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants