qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cctriel...@apache.org
Subject svn commit: r682979 - in /incubator/qpid/trunk/qpid/cpp/src/qpid: acl/Acl.cpp broker/AclModule.h
Date Tue, 05 Aug 2008 21:54:15 GMT
Author: cctrieloff
Date: Tue Aug  5 14:54:15 2008
New Revision: 682979

URL: http://svn.apache.org/viewvc?rev=682979&view=rev
Log:
Added actions for ACL on mgnt actions

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp
    incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp?rev=682979&r1=682978&r2=682979&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/acl/Acl.cpp Tue Aug  5 14:54:15 2008
@@ -53,6 +53,7 @@
 	   case UNBIND: return "Unbind";
 	   case DELETE: return "Delete";
 	   case PURGE: return "Purge";
+	   case UPDATE: return "Update";
 	   default: return "Unknown";
 	  }
    }
@@ -64,6 +65,9 @@
       case QUEUE: return "Queue";
 	  case EXCHANGE: return "Exchnage";
 	  case ROUTINGKEY: return "RoutingKey";
+	  case BROKER: return "Broker";
+	  case LINK: return "Link";
+	  case ROUTE: return "Route";
 	  default: return "Unknown";
 	  }
    }

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h?rev=682979&r1=682978&r2=682979&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/broker/AclModule.h Tue Aug  5 14:54:15 2008
@@ -31,8 +31,8 @@
 namespace qpid {
 
 namespace acl{
-enum ObjectType {QUEUE,EXCHANGE,ROUTINGKEY};
-enum Action {CONSUME,PUBLISH,CREATE,ACCESS,BIND,UNBIND,DELETE,PURGE};
+enum ObjectType {QUEUE,EXCHANGE,ROUTINGKEY,BROKER,LINK,ROUTE};
+enum Action {CONSUME,PUBLISH,CREATE,ACCESS,BIND,UNBIND,DELETE,PURGE,UPDATE};
 enum AclResult {ALLOW,ALLOWLOG,DENY,DENYNOLOG};	
 }
 



Mime
View raw message