mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
restrict user lists based on account.users permission
This commit is contained in:
parent
b56d3426d2
commit
508ec00c6a
9 changed files with 37 additions and 44 deletions
|
@ -66,9 +66,9 @@ export default Ember.Service.extend({
|
|||
});
|
||||
},
|
||||
|
||||
// Returns all users that can see folder.
|
||||
getFolderUsers(folderId) {
|
||||
let url = `users/folder/${folderId}`;
|
||||
// Returns all users that can see space.
|
||||
getSpaceUsers(spaceId) {
|
||||
let url = `users/space/${spaceId}`;
|
||||
|
||||
return this.get('ajax').request(url, {
|
||||
method: "GET"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue