Hi I created a quiz and I need to allow people to add additional content in the form of pictures to their answers. The answer box doesn't allow this directly so I have tried to add the attachment macro on the answer page. The problem is that when another user takes the quiz, they can see the attachments from the previous user.
Is there a way that I can restrict the access of users to only see their own attachments or even make it so only specific user groups can see attachments on a specific page?
As far as I know you cannot set permissions on attachments in Confluence. They inherit the same access as your page has.
And that means - anyone who can access your page can see the page's attachments.
In our app we have a way to "enable secure storage", what that actually means is we create a separate (sub) page, restricted to current user, for the attachments the user uploads (within our form).
Sounds like an overkill, but we have not found any better solution for this
I agree, definitely seems like overkill but after hours of research I can't seem to find much better solution either.
So I'm guessing that for the creation of new user macros there is no way to reference "current user" or specify group access? I have seen these parameters available in existing macros but cannot find how to create such parameters in user macros...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the current user in a user macro, https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/
$action.authenticatedUser
The currently authenticated user, or null if anonymous user.
Or you mean to have a macro parameter that does a lookup for you in users/security groups? No, this is not something built-in - limited set of parameter types is supported in user macros
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i want to convert word file to PDF personal use only and then to PDF to WORD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.