add PUBLISH_STREAM permission
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 29 Apr 2009 17:46:29 +0000 (13:46 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 29 Apr 2009 17:46:29 +0000 (13:46 -0400)
framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php

index 6a1bbc7..c8f79df 100644 (file)
@@ -49,10 +49,17 @@ class Horde_Service_Facebook_Auth
 
     /** EXTEND_PERMS constants **/
     const EXTEND_PERMS_OFFLINE = 'offline_access';
+
+    // These perms are now wrapped up in the publish_stream permission, but are
+    // left here for BC and to allow atomic setting of the perms if desired.
     const EXTEND_PERMS_STATUSUPDATE = 'status_update';
     const EXTEND_PERMS_SHAREITEM = 'share_item';
     const EXTEND_PERMS_UPLOADPHOTO = 'photo_upload';
 
+    const EXTEND_PERMS_PUBLISHSTREAM = 'publish_stream';
+
+
+
     /**
      * TODO: Probably abstract out a Base class for these?
      * @return unknown_type