This module provides two different permissions for allowing users to add twitter accounts.
1. Add Twitter accounts (which I'm assuming means unauthenticated accounts)
2. Add authenticated Twitter accounts
I have no use for unauthenticated twitter accounts on my site because users are only adding twitter accounts in order to automatically post content from their accounts. For this reason I've set permissions to allow all users to ADD AUTHENTICATED TWITTER ACCOUNTS while disabling the permission for all roles to ADD TWITTER ACCOUNTS (once again assuming this means unauthenticated accounts). However, all users have access to add both AUTHENTICATED and NON-AUTHENTICATED twitter accounts which has led to a lot of confusion and half of our users adding accounts the wrong way. There seems to be a bug that gives permissions for both options even when permission is only given to add AUTHENTICATED TWITTER ACCOUNTS is given.
Comment | File | Size | Author |
---|---|---|---|
#4 | twitter-n2338125-4-6.x-5.x.patch | 566 bytes | DamienMcKenna |
#1 | twitter-nonauth_acc_permission_fix-2338125-2.patch | 538 bytes | durum |
Comments
Comment #1
durum CreditAttribution: durum commentedThe patch fixes the issue.
IMHO
twitter_connect()
function is called by mistake instead ofuser_access('add twitter accounts')
there, so this fixes it for the moment.Comment #2
DamienMcKennaComment #3
DamienMcKennaClosed a duplicate: #1962988: Add account permission
Comment #4
DamienMcKennaThe patch in #1 works for both the 7.x-5.x and 7.x-6.x branches, this one is for the 6.x-5.x branch.
Comment #5
DamienMcKennaCommitted. Thanks durum!