/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

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