mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
[share] added permission check (#2900)
This commit is contained in:
@@ -15,6 +15,9 @@ class Repo {
|
||||
this.modifier_email = object.modifier_email;
|
||||
this.modifier_name = object.modifier_name;
|
||||
this.type = object.type;
|
||||
if (object.is_admin != undefined) {
|
||||
this.is_admin = object.is_admin;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user