mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
feat: metadata view permission (#6500)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -130,6 +130,11 @@ class Context {
|
||||
return true;
|
||||
};
|
||||
|
||||
canModifyView = (view) => {
|
||||
if (this.permission === 'r') return false;
|
||||
return true;
|
||||
};
|
||||
|
||||
getCollaboratorFromCache(email) {
|
||||
return this.collaboratorsCache[email];
|
||||
}
|
||||
|
Reference in New Issue
Block a user