Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UML - Distinction between user and administrator use cases of the same nature

Tags:

use-case

uml

There's something that's been bothering me while attempting to do a use case diagram.

Both users and administrators can manage articles, both can manage categories, both can carry out crud operations on all of those BUT the administrator has control on every single item whereas a user is limited to a subset of these items.

Should/can a distinction be made in a use case diagram so this is clear?

like image 290
James P. Avatar asked Dec 17 '25 20:12

James P.


2 Answers

From the sounds of thing the use cases are the same.

The devil could be contained in the detail of the activity and the scenarios associated with these use cases. These could define the role specific operations, or change in operations of the system in reaction to this role.

You could define them as separate use cases (but this doesn't sound right as you say, it's the same action for both, just with different limits to the action) or, make sure that authentication and the current user role is clearly defined as a predecessor to the above use cases. If you definitely want this information displayed in that diagram in particular.

This has some pretty good use case diagrams with users in different roles

like image 80
tigerswithguitars Avatar answered Dec 20 '25 10:12

tigerswithguitars


Your "use case" seems to need to be separate in smaller "use cases", some of those "use cases" are the same for admin. and standard-user, some not.

like image 24
umlcat Avatar answered Dec 20 '25 11:12

umlcat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!