Package google.registry.model.console
Class User
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.UpdateAutoTimestampEntity
google.registry.model.console.UserBase
google.registry.model.console.User
- All Implemented Interfaces:
Buildable
,UnsafeSerializable
,Serializable
,Cloneable
A console user, either a registry employee or a registrar partner.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
Nested classes/interfaces inherited from interface google.registry.model.Buildable
Buildable.GenericBuilder<S,
B extends Buildable.GenericBuilder<?, ?>>, Buildable.Overlayable<T> -
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
grantIapPermission
(String emailAddress, Optional<String> groupEmailAddress, CloudTasksUtils cloudTasksUtils, ServiceConnection connection, IamClient iamClient) Grants the user permission to pass IAP.static void
revokeIapPermission
(String emailAddress, Optional<String> groupEmailAddress, CloudTasksUtils cloudTasksUtils, ServiceConnection connection, IamClient iamClient) Revoke the user's permission to pass IAP.Methods inherited from class google.registry.model.console.UserBase
getRegistryLockEmailAddress, getUserRoles, hasAnyRegistryLockPermission, hasRegistryLockPassword, verifyRegistryLockPassword
Methods inherited from class google.registry.model.UpdateAutoTimestampEntity
copyUpdateTimestamp, getUpdateTimestamp, resetUpdateTimestamp, setUpdateTimestamp
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Field Details
-
IAP_SECURED_WEB_APP_USER_ROLE
- See Also:
-
-
Constructor Details
-
User
public User()
-
-
Method Details
-
grantIapPermission
public static void grantIapPermission(String emailAddress, Optional<String> groupEmailAddress, @Nullable CloudTasksUtils cloudTasksUtils, @Nullable ServiceConnection connection, IamClient iamClient) Grants the user permission to pass IAP.Depending on if a console user group is set up, the permission is granted either individually or via group membership.
-
revokeIapPermission
public static void revokeIapPermission(String emailAddress, Optional<String> groupEmailAddress, @Nullable CloudTasksUtils cloudTasksUtils, @Nullable ServiceConnection connection, IamClient iamClient) Revoke the user's permission to pass IAP.Depending on if a console user group is set up, the permission is revoked either individually or via group membership.
-
getEmailAddress
- Overrides:
getEmailAddress
in classUserBase
-
asBuilder
-
createVKey
- Overrides:
createVKey
in classImmutableObject
-