mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Merge branch 'master' into record-user-that-requested-to-go-live
This commit is contained in:
@@ -114,8 +114,12 @@ class Service(JSONModel):
|
||||
|
||||
@cached_property
|
||||
def has_team_members(self):
|
||||
return user_api_client.get_count_of_users_with_permission(
|
||||
self.id, 'manage_service'
|
||||
return (
|
||||
user_api_client.get_count_of_users_with_permission(
|
||||
self.id, 'manage_service'
|
||||
) + invite_api_client.get_count_of_invites_with_permission(
|
||||
self.id, 'manage_service'
|
||||
)
|
||||
) > 1
|
||||
|
||||
def cancel_invite(self, invited_user_id):
|
||||
|
||||
Reference in New Issue
Block a user