mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
@@ -111,7 +111,7 @@ class ShareToGroup extends React.Component {
|
||||
sharedItems: []
|
||||
};
|
||||
this.options = [];
|
||||
this.permissions = []
|
||||
this.permissions = [];
|
||||
let { itemType, isRepoOwner } = props;
|
||||
if (itemType === 'library') {
|
||||
this.permissions = isRepoOwner ? ['rw', 'r', 'admin', 'cloud-edit', 'preview'] : ['rw', 'r', 'cloud-edit', 'preview'];
|
||||
|
Reference in New Issue
Block a user