Skip to content

Commit

Permalink
add javadoc that PrivateUrlUser implements User too #1012
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Jun 30, 2016
1 parent 50ae521 commit 3a2aad3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
import java.io.Serializable;

/**
* A user of the dataverse system. Intuitively a single real person in real life, but
* some corner cases exist (e.g. {@link GuestUser}, who stands for many people).
* A user of the dataverse system. Intuitively a single real person in real
* life, but some corner cases exist (e.g. {@link GuestUser}, who stands for
* many people, or {@link PrivateUrlUser}, another virtual user).
*/
public interface User extends RoleAssignee, Serializable {

Expand All @@ -15,7 +16,7 @@ public interface User extends RoleAssignee, Serializable {
// e.g. getUserProvider and get the provider's URL from there. This
// would allow Shib-based editing as well.
public boolean isBuiltInUser();

public boolean isSuperuser();

}

0 comments on commit 3a2aad3

Please sign in to comment.