PortalUser
No description
type PortalUser implements BaseFields {
accesses(
showTeamAccess: Boolean = false
): [Access!]!
allocatedAnalyses(
companyId: Int!
): [Project!]
avatarFilename: String
avatarId: String
avatarSize: String
avatarUrl: String
basis: Boolean!
blocked: Boolean
canAccessTickets(
companyId: ID!
): Boolean!
createdAt: ISO8601DateTime!
deleted: Boolean!
displayName: String!
effectiveAbilities(
companyId: ID!
): [EffectiveAbility!]!
effectiveAstPermissions(
companyId: ID!
): [IntegrationsPermissions!]!
effectiveCertificatePermissions(
companyId: ID!
): [CertificatePermissions!]!
effectiveTicketPermissions(
companyId: ID!
): [TicketsPermissions!]!
effectiveUserAccessPermissions(
companyId: ID!
): [UserAccessPermissions!]!
email: String!
hasAccess(
companyId: ID!
): Boolean!
id: ID!
inactive: Boolean
invite(
companyId: ID!
): Invite
isAdmin(
companyId: ID!
): Boolean!
jobPosition(
companyId: ID!
): JobPositionsEnum
kind: PrincipalKindEnum!
mustChangePassword: Boolean!
name: String
pendingDeploys(
companyId: Int!
): [PendingDeploy!]
profile(
companyId: ID!
): PortalUserAccessProfiles
qrcodeUri: String
reviewedDeploys(
initialDate: ISO8601DateTime!
finishDate: ISO8601DateTime!
companyId: Int!
): [Deploy!]
sso: Boolean
superUser: Boolean!
teams(
companyId: ID!
): [Team!]
twoFactor: Boolean!
updatedAt: ISO8601DateTime!
}
Fields
PortalUser.accesses ● [Access!]! non-null object
Accesses granted to the user.
PortalUser.accesses.showTeamAccess ● Boolean scalar
PortalUser.allocatedAnalyses ● [Project!] list object
Projects the user is allocated to
PortalUser.allocatedAnalyses.companyId ● Int! non-null scalar
The company ID to fetch the allocated projects
PortalUser.avatarFilename ● String scalar
The filename of the user's avatar image
PortalUser.avatarId ● String scalar
The id of the user's avatar image
PortalUser.avatarSize ● String scalar
The size of the user's avatar image
PortalUser.avatarUrl ● String scalar
The URL of the user's avatar image
PortalUser.basis ● Boolean! non-null scalar
True for a Conviso employee: a @conviso.com.br / @convisoappsec.com email, or a super user. This is the identity Assets::Concerns::TypeChangeAuth gates on, so a client hiding a staff-only control must read this and not superUser, which is the narrower explicit id list.
PortalUser.blocked ● Boolean scalar
Indicates if the user is blocked
PortalUser.canAccessTickets ● Boolean! non-null scalar
Whether the user reaches the ticket module of a company at all, as decided by TicketPolicy#index? — the same gate the tickets query authorizes against. True without any ticket permission when the user watches a ticket of the company, which grants the read of what they watch and nothing else.