Cucumber Ltd / jam

Ldap authenticationfeatures/authentication/ldap_authentication.feature

Revert "[dx] Bump dependencies"

Romain GĂ©rard

Currently viewing

Feature: LDAP authentication

In an enterprise environment, you need to allow people to sign in using their existing network credentials so that they don't have to sign up.

Background:

  • Given this appliance is configured for LDAP authentication

Scenario: Existing account with no LDAP account can still log in

  • When BuildServer logs in using their credentials
  • Then BuildServer should be logged in

Scenario: New user signs in for the first time

  • Given Barbara has an LDAP account with email [email protected]
  • When Barbara logs in using her network credentials
  • Then Barbara should be logged in
  • And [email protected] should not receive an account activation email

Scenario: User with existing account signs in using network credentials

  • Given Chris has an account with email [email protected]
  • And Chris has an LDAP account with email [email protected]
  • And Chris has created a public project called alpha-project
  • When Chris logs in using his network credentials
  • Then Chris should be logged in
  • And Chris should see the following projects:
    projectName
    alpha-project