Package com.atlassian.jira.onboarding
Interface UserChecker
- All Known Implementing Classes:
UserCheckerImpl
public interface UserChecker
Centralises all logic related to user properties and conditions during the onboarding flow
- Since:
- v6.5
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Tests whether this is the first time a user has logged in.boolean
Checks whether the current user is impersonating a second userboolean
Deprecated.
-
Method Details
-
firstTimeLoggingIn
Tests whether this is the first time a user has logged in.- Parameters:
user
- logging in- Returns:
- whether they have logged in before
-
isOnDemandSysAdmin
Deprecated.Checks whether a given user is a sysadmin.- Parameters:
user
- logged in- Returns:
- whether the user is a sysadmin
-
isImpersonationActive
Checks whether the current user is impersonating a second user- Parameters:
user
- currently logged in (as returned by JiraAuthenticationContext)- Returns:
- whether or not the impersonation feature was detected as active
-