public class

CanCreateUsersCondition

extends AbstractUserManagementPermissionCondition
java.lang.Object
   ↳ com.atlassian.bitbucket.web.conditions.AbstractUserManagementPermissionCondition
     ↳ com.atlassian.bitbucket.web.conditions.CanCreateUsersCondition

Class Overview

Verifies that is is possible to create users.

Summary

Public Constructors
CanCreateUsersCondition(UserAdminService adminService, PermissionService permissionService)
Public Methods
boolean shouldDisplay(UserAdminService adminService)
Performs a check to determine whether the creation of new users is allowed.
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.web.conditions.AbstractUserManagementPermissionCondition
From class java.lang.Object
From interface com.atlassian.plugin.web.Condition

Public Constructors

public CanCreateUsersCondition (UserAdminService adminService, PermissionService permissionService)

Public Methods

public boolean shouldDisplay (UserAdminService adminService)

Performs a check to determine whether the creation of new users is allowed.

Parameters
adminService the service to use when performing the check