Difference between revisions of "Register Group Namespace"

From BZFlagWiki
Jump to: navigation, search
m (Move to spec)
(category link)
 
Line 70: Line 70:
 
</properties>
 
</properties>
  
[[:Category:Group Manager]]
+
[[Category:Group Manager]]

Latest revision as of 03:05, 5 December 2016

Picture Frame.png This page contains a specification 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[edit]

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[edit]

None


Post conditions[edit]

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


Requirements and rules realized[edit]

  • 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[edit]

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[edit]

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.