Title says all, I wanted to disable ability for users to edit their own statuses, like it is on facebook.
When you have print $profile['facebook_status']; to user-profile.tpl.php or block enabled, and you have "edit own posts, post on other profiles, view all statuses" you have on your profile form and view which displays your recent posts.
But if you do not have permission "edit own posts" you cannot post new statuses over form and you cant see the print $profile['facebook_status']; at all. But, you can have conversations and you can post on other people walls (as you have post on other profiles and view all statuses permission.)
Is this a typical behavior of facebook_status module, or it is a bug. If its not, maybe there should be a new permission to add, e.g. "post own status".
Comments
Comment #1
icecreamyou commentedThat's how the module is designed. If you want to remove the ability to edit statuses, you could use hook_menu_alter() and hook_facebook_status_render_alter(), or just hook_facebook_status_post_access_alter() with a custom permission from hook_perm().
Comment #2
vertazzar commentedokay
Comment #3
icecreamyou commentedFWIW, I'm thinking about changing this in the 3.x branch once that gets rolling, as your point is well-taken that the permissions are not quite as clear as they probably should be. However, as far as 2.x goes I'd just rather not change the permissions this late in the cycle.