PageRenderTime 17ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/razweb/src/com/razie/pub/comms/PermType.java

http://razpub.googlecode.com/
Java | 18 lines | 8 code | 1 blank | 9 comment | 0 complexity | 7f9e582b578d262278879cf05d9924e2 MD5 | raw file
 1package com.razie.pub.comms;
 2
 3/**
 4 * permissions that can be assigned to objects, actions and methods. These are decoupled from the
 5 * authentications below.
 6 */
 7public enum PermType {
 8   /** highest permission: includes upgrades and code changes, define new assets */
 9   ADMIN,
10   /** allows control of play/preferences, turn on lights etc */
11   CONTROL,
12   /** since we have VIEW/READ, let's have write as well, eh? */
13   WRITE,
14   /** just query and view */
15   VIEW,
16   /** what you want anybody to be able to do */
17   PUBLIC
18}