This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Register Group Namespace"
Grans Remedy (Talk | contribs) |
(category link) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Specification}} |
== Introduction == | == Introduction == | ||
Line 20: | Line 20: | ||
* ''RQ1 Namespace names must be unique''<br /> | * ''RQ1 Namespace names must be unique''<br /> | ||
The system shall prevent a namespace name from being registered if one with the identical name already exists. | 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''<br /> | * ''BR1 Prevent the use of reserved namespaces''<br /> | ||
The system shall prevent a namespace from being registered if it is identical to that of a reserved name. | 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''<br /> | * ''RQ2 Namespace names cannot be identical to a player name other than that of the founder''<br /> | ||
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. | 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''<br /> | * ''RQ3 The player who registers a namespace shall be its founder''<br /> | ||
The system shall grant founder status to the player who first registers the namespace. | 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''<br /> | * ''RQ4 Only registered players shall be permitted to register a namespace''<br /> | ||
Line 47: | Line 51: | ||
Message Text:= You must log-in with your BZFlag call sign (user name) in order to register a new namespace. | Message Text:= You must log-in with your BZFlag call sign (user name) in order to register a new namespace. | ||
</properties> | </properties> | ||
+ | |||
+ | ---- | ||
+ | |||
<properties> | <properties> | ||
Step:= EX-2 | Step:= EX-2 | ||
Line 53: | Line 60: | ||
Message Text:= The namespace name is not valid. It must be unique and cannot be the same as another BZFlag user name. | Message Text:= The namespace name is not valid. It must be unique and cannot be the same as another BZFlag user name. | ||
</properties> | </properties> | ||
+ | |||
+ | ---- | ||
+ | |||
<properties> | <properties> | ||
Step:= BF-4 | Step:= BF-4 | ||
Line 59: | Line 69: | ||
Message Text:= The namespace has been registered successfully. | Message Text:= The namespace has been registered successfully. | ||
</properties> | </properties> | ||
+ | |||
+ | [[Category:Group Manager]] |
Latest revision as of 03:05, 5 December 2016
Contents
Introduction[edit]
The purpose of this use case is to describe the process used to register (create) a new group namespace (organisation).
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.
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. |