For everyone stumbling over
atl_token, which they need in order to send queries to built-in actions such as
You can get it
$('[name="atl_token"]').attr('value') on Confluence pages.
So from now on, this works:
AJS.safe.get() does not work, you can use the atl_token in your own requests with whatever XMLHTTPRequest fashion you want.
Do you have an idea how to add user restrictions instead of group-restriction with this method?
I found out that using ?viewPermissionsUsers=USER does not work. It only works with a long user key like this: viewPermissionsUsers=8a8a89a55365d4c6015365d5e9c913af
I can get the current user from a the meta-tag "ajs-remote-user-key", but I don´t know how to get this key for arbitrary users.
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs