mirror of
https://github.com/wekan/wekan.git
synced 2026-01-31 13:45:17 +01:00
-warning messages when user try to delete an organization / remove user from organization or team
This commit is contained in:
parent
90139b978c
commit
5162317298
2 changed files with 72 additions and 188 deletions
|
|
@ -987,23 +987,6 @@ if (Meteor.isServer) {
|
|||
check(userOrgsArray, Array);
|
||||
check(userTeamsArray, Array);
|
||||
if (Meteor.user() && Meteor.user().isAdmin) {
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
check(fullname, String);
|
||||
check(username, String);
|
||||
check(initials, String);
|
||||
check(password, String);
|
||||
check(isAdmin, String);
|
||||
check(isActive, String);
|
||||
check(email, String);
|
||||
check(importUsernames, Array);
|
||||
check(userOrgsArray, Array);
|
||||
check(userTeamsArray, Array);
|
||||
|
||||
=======
|
||||
>>>>>>> feature/250f95de
|
||||
=======
|
||||
>>>>>>> feature/250f95de
|
||||
const nUsersWithUsername = Users.find({
|
||||
username,
|
||||
}).count();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue