From af480d522c70ff88074963627002788ddb119fb2 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 29 Apr 2009 13:46:29 -0400 Subject: [PATCH] add PUBLISH_STREAM permission --- framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php b/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php index 6a1bbc7c2..c8f79dfeb 100644 --- a/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php +++ b/framework/Service_Facebook/lib/Horde/Service/Facebook/Auth.php @@ -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 -- 2.11.0