anchor.diff:  
   The full list can be found by searching for subclasses of xref:refguide:extensions:index/secman/applib/role/fixtures/ AbstractRoleAndPermissionsFixtureScript.adoc[AbstractRoleAndPermissionsFixtureScript].
   
  -
  -== Creating Users
  -
  -Creating regular applications users in production use can be done manually by the security super-user, or can be done programmatically through xref:refguide:extensions:index/secman/applib/user/dom/ApplicationUserRepository.adoc[ApplicationUserRepository].
  -This will return an xref:refguide:extensions:index/secman/applib/user/dom/ApplicationUser.adoc[ApplicationUser] which can then be granted roles, for example using `addRoleToUser()` API of xref:refguide:extensions:index/secman/applib/role/dom/ApplicationRoleRepository.adoc[ApplicationRoleRepository].
  +[NOTE]
  +====
  +There is no fixture script to setup a role to access the UI features of the applib, or to run fixture scripts; these are included automatically as part of the SecMan's own "regular user".
  +====
  +
   
   
   == Fixture scripts and seed service, to setup users and roles
  
positive.code: }
  ----
  
  * to set up a "no-delete" role that vetoes the ability to delete objects:
  +
  [source,java]
  
negative.code:     @Override protected void execute(ExecutionContext executionContext) {
          executionContext.executeChildren(this,
                  // roles
                  new RoleAndPerms__HelloRw()
                  // users
                  , new UserToRole__bob_allRoles()
                  , new UserToRole__joe_UserRw_but_NoDelete()
          );
      }
  }
  ----
  
  The custom seed service would then ensure that these users/roles existed on startup.
  
  
  == Creating Users and Roles
  
  Once a super-user admin account has been seeded in, regular users can be created manually by logging in as that security super-user.
  
  Alternatively, users can be created programmatically through xref:refguide:extensions:index/secman/applib/user/dom/ApplicationUserRepository.adoc[ApplicationUserRepository].
  This will return an xref:refguide:extensions:index/secman/applib/user/dom/ApplicationUser.adoc[ApplicationUser] which can then be granted roles, for example using `addRoleToUser()` API of xref:refguide:extensions:index/secman/applib/role/dom/ApplicationRoleRepository.adoc[ApplicationRoleRepository].
  
  
  [#user-registration-aka-sign-up]
  