SMF Support > SMF 1.1.x Support
Permission Changes
Liam_michael:
In my forum, people with less than 5 posts can't download any attachments.
So, if a person with 2 posts were to upload something, they would not be able to download their own attachment.
Is it possible to change the permissions so that even though members are below the 5 post threshold, they can still have permission to download their own attachments?
Thanks for reading.
Arantor:
Not without changing the code. Though if they uploaded it, why would they need to be able to download it again?
Colin:
--- Quote from: Arantor on July 18, 2012, 02:43:39 PM ---Not without changing the code. Though if they uploaded it, why would they need to be able to download it again?
--- End quote ---
I can still see the reason Liam would want this. It doesn't look good for the user to feel like he is unable to even access his own contribution. This would be a very simple rewrite though.
Arantor:
Or not, as the case may be, since the permissions check never validates ownership, merely that the user has permission to download an attachment in the current board, and the query that validates the attachment->topic->board relationships doesn't involve the user.
You'd actually have to rewrite that section of permissions, rather than a 'simple' rewrite.
I still don't understand why a user has this problem. If I attach a file to somewhere, I still have the original file, I have no need to redownload it from where I just uploaded it to...
Liam_michael:
--- Quote from: Colin on July 18, 2012, 03:17:07 PM ---
--- Quote from: Arantor on July 18, 2012, 02:43:39 PM ---Not without changing the code. Though if they uploaded it, why would they need to be able to download it again?
--- End quote ---
I can still see the reason Liam would want this. It doesn't look good for the user to feel like he is unable to even access his own contribution. This would be a very simple rewrite though.
--- End quote ---
Yes, my thought exactly!
@Arantor: Not everyone thinks the way you do. Members have requested it in the past and have been annoyed by it.
If anyone can shed some light on how this could be done, it would be greatly appreciated, not only for me, but perhaps someone who would also like this.
Navigation
[0] Message Index
[#] Next page
Go to full version