Club admin

From Help.baskethotel.com

Revision as of 07:38, 2 March 2012 by Justast (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Club admin is user role in BasketHotel to edit information of one club and all belonging teams.

Creating club admin user

Club admin user can be created in Security->Users by Superadmin, Competition and Region admins.

Creating club admin.png

When Club admin role is selected in Create/Edit user interface, a new tab Club admin attributes appears with a list of clubs. Multiple clubs can be assigned to this user.

Club admin - assign club.png

User interfaces

Interfaces must work correctly if user has club contact and team contact roles at the same time.

  • My games
    • Games - list of games. Interface looks the same as in Team contact role. Games are included if they meet any of the following rules:
      1. Team of assigned clubs participates in this game
      2. Team of assigned clubs is host team in this game
      3. Team of assigned clubs participates in league of this game AND host team of this game is empty
  • My team - list of teams belonging to assigned clubs. Teams can be edited the same way as team contact edits teams. Additional button Edit team users is added in the toolbar which opens dialog window to edit team contacts and statistics operators.
  • Enroll
    • Enroll - interface is the same as in team contact's interface. When club admin enrolls team for another club, club admin is assigned as team contact to enrolling team and team contact role is added to club admin if not exists yet. When club admin enrolls team for his own club, no new role or relations are added.
    • Club enrollments - interface looks the same as My enrollments interface of team contact, except it shows all enrollments of assigned club.

Editing team users

Edit team users button opens a dialog window with list of team users.

  • Add button opens add user form
  • Delete column unlinks user from team, but does not actually delete user or person
  • Paging is disabled
  • Role column displays only relation of current user to team - it does not display if user has more roles. It also does not display roles of this used assigned to other teams.

List of team users.png

Clicking Add button opens add team user form.

  • Role - dropdown of either Team contact or Statistics operator. Required.
  • Select person - autocomplete dropdown of persons. Required if Create new person checkbox is off.
  • Create new person - if on, new person is added instead of connecting existing one.
  • Name - prefilled and disabled if person is selected in dropdown. Required if new person is created.
  • Surname - prefilled and disabled if person is selected in dropdown. Required if new person is created.
  • Birth date - prefilled and disabled if person is selected in dropdown. Required if new person is created.
  • Email - prefilled and disabled if person is selected in dropdown. Required if new person is created.
  • Username - prefilled and disabled if person is selected in dropdown and this person has an user connected. Required if new user is created. Default value is name.surname - it should fill automatically if person is selected or names are entered of a new person. If username exists - underscore is appended to the end of username. Development info: keep in mind that checks will probably performed by http and it will not be instant process.
  • Password - disabled if person is selected in dropdown and this person has an user connected. Required if new user is created.
  • Gender - prefilled and disabled if person is selected in dropdown. Required if new person is created.

It is not allowed to create a new person if another person exists in the database with the same name, surname and birth date.

Multilanguage fields (name, surname) are not displayed for separate languages. The same values are used for different languages instead. Saving form with existing person selected does not overwrite different language versions of the names.

Add team user.png

Personal tools