modules/Administration/RepairTeams.php
Functions
clear_global_team_access(
$global_team_id
=
1
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$global_team_id |
clear_implicit_access(
$private_teams_only, $global_team_id
=
1
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$private_teams_only | ||
$global_team_id |
process_all_team_access(
$user, $add_to_global_team
=
false, $private_team
=
false, $process_implict_teams
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$user | ||
$add_to_global_team | ||
$private_team | ||
$process_implict_teams |
process_team_access(
$process_global_teams
=
false, $process_private_teams
=
false, $process_implict_teams
=
false, $global_team_id
=
'1', $process_team_access
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$process_global_teams | ||
$process_private_teams | ||
$process_implict_teams | ||
$global_team_id | ||
$process_team_access |
\ScanTeams
Package:
Parameters
Returns
Returns
Methods
scanForMissingGlobal(
\ID $global_id
=
'1'
)
:
boolean
Checks that every user has explicit memberships to the global team
true implies there is a user missing Globlal membership
Name | Type | Description |
---|---|---|
$global_id | \ID |
Type | Description |
---|---|
boolean |
scanForMissingPrivateTeams(
)
:
boolean
Scans to ensure that every user has a private team
true implies there is a user missing a private team
Type | Description |
---|---|
boolean |