This wiki is archived and useful information is being migrated to the main bzflag.org website

Register Group Namespace

From BZFlagWiki
Revision as of 08:47, 4 April 2011 by Grans Remedy (Talk | contribs)

Jump to: navigation, search
Picture Frame.png This page contains the design document for an enhancement or feature. It is a work of collaborative development, and may not represent the final design. If you are not part of the development or design group, please post comments and suggestions on the talk page and not in the middle of the design.


Introduction

The purpose of this use case is to describe the process used to register (create) a new group namespace (organisation).

Use Case diagram

The diagram shows the requirements and rules the use case is responsible for (via the <<realize>> stereotype).


Pre-conditions

None


Post conditions

A new group namespace has been created with the actor identified as its founder.


Requirements and rules realized

RQ1 Namespace names must be unique The system shall prevent a namespace name from being registered if one with the identical name already exists.

BR1 Prevent the use of reserved namespaces The system shall prevent a namespace from being registered if it is identical to that of a reserved name.

RQ2 Namespace names cannot be identical to a player name other than that of the founder The system shall prevent a namespace name from being registered if it is identical to that of a registered player other than the one the actor has logged in with.

RQ3 The player who registers a namespace shall be its founder The system shall grant founder status to the player who first registers the namespace.

RQ4 Only registered players shall be permitted to register a namespace The system shall prevent unregistered players from registering a new namespace.


Flow of events

The flow of events describes the main actor actions and system responses in the execution of the use case.

Activity diagram showing flow of events


Messages

Step: EX-1 Condition: Unregistered player Message Number: Err 1 Message Text: You must log-in with your BZFlag call sign (user name) in order to register a new namespace.

Step: EX-2 Condition: Invalid namespace name Message Number: Err 2 Message Text: The namespace name is not valid. It must be unique and cannot be the same as another BZFlag user name.

Step: BF-4 Condition: Successfully added new namespace Message Number: Msg 1 Message Text: The namespace has been registered successfully.