Skip to content

enh(contacts): expose dav current-user-privilege-set#789

Closed
JohannesGGE wants to merge 1 commit intomainfrom
enh/contacts/hide-adressbook-option
Closed

enh(contacts): expose dav current-user-privilege-set#789
JohannesGGE wants to merge 1 commit intomainfrom
enh/contacts/hide-adressbook-option

Conversation

@JohannesGGE
Copy link

Exposes the privilegeSet of the current user.

Signed-off-by: Johannes Merkel <mail@johannesgge.de>
Copy link
Member

@tcitworld tcitworld left a comment

Choose a reason for hiding this comment

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

I don't think you need this as you can just use the already exposed currentUserPrivilegeSet property from parent class.

https://github.com/nextcloud/cdav-library/blob/1049c38daad77633d61afb33df4c515b7805e060/src/models/davCollection.js#LL74C25-L74C48

@JohannesGGE
Copy link
Author

Ah, nice. This makes it much easier, thx 👍

@JohannesGGE JohannesGGE closed this Jun 1, 2023
@JohannesGGE JohannesGGE deleted the enh/contacts/hide-adressbook-option branch June 1, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants