Prevent sharing a pad with a team from this team's drive
This commit is contained in:
@@ -766,6 +766,7 @@ define([
|
||||
var teamsData = Util.tryParse(JSON.stringify(privateData.teams)) || {};
|
||||
var teams = {};
|
||||
Object.keys(teamsData).forEach(function (id) {
|
||||
if (config.teamId && config.teamId === id) { return; }
|
||||
var t = teamsData[id];
|
||||
teams[t.edPublic] = {
|
||||
notifications: true,
|
||||
|
||||
Reference in New Issue
Block a user