From f8e59e6490e27e83bf4ef8343d03d3262ca3f70a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 26 Apr 2012 15:39:20 +0200 Subject: [PATCH] Add constants for user privilege levels. --- src/main/java/net/pterodactylus/demoscenemusic/data/User.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/User.java b/src/main/java/net/pterodactylus/demoscenemusic/data/User.java index 50468ca..0ca665c 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/User.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/User.java @@ -26,6 +26,12 @@ import java.util.Collection; */ public interface User extends Base { + /** Privilege level for site gods. */ + public static final int LEVEL_GOD = 100; + + /** Privilege level for normal users. */ + public static final int LEVEL_USER = 0; + /** * Returns the name of this user. * -- 2.7.4