10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 571 Views |
-
Secure Files module in SS v.3

21 September 2012 at 1:43am Last edited: 21 September 2012 1:44am
I need to secure access to some uploaded files for members only.
How to do it? - unfortunately Secure Files module doesn't work in newest SilverStripe version
Thanks!
-
Re: Secure Files module in SS v.3

22 September 2012 at 4:43pm
Check to see if the module has been forked at all (https://github.com/hamishcampbell/silverstripe-securefiles/network) as someone might be working on a 3.0 version, otherwise contact the maintainer and see if they have any plans to update the module.
-
Re: Secure Files module in SS v.3

21 October 2012 at 7:59pm
Hi pga, I've just updated the parts of the module I need for a project I'm working on - namely Group based permissions (but not individual Members or Token access). It's a bit hacky I guess but it's "working for me"
I'm not totally across pushing and pulling and carrying on on github yet, but like I said this is a rushed and unfinished update to the mod anyway, so I'm just zipping it up and attaching it to this thread for now. If I get the chance I'll try a pull request into the mod repo properly later in the week.
As I said though, I've now got it working for me. Hope it helps.
-
Re: Secure Files module in SS v.3

9 November 2012 at 8:33am Last edited: 9 November 2012 8:36am
Hey dizzystuff,
Would you mind explaining how you got the updateCMSFields method to work? I have the following:
public function updateCMSFields(FieldList $fields) {
...$secureFilesTab = $fields->addFieldToTab('Root.Security',
new HeaderField(_t('SecureFiles.SECUREFIETABNAME',
'Security')));...
}but I am receiving an error:
Error at framework/forms/FieldList.php line 288: FieldList::addFieldToTab() Tried to add a tab to object 'FieldList' - 'Root' didn't exist.Not seeing the attachment...
Thanks!
-
Re: Secure Files module in SS v.3

12 November 2012 at 6:36am
Please see this thread for how I got this working in SS3: http://www.silverstripe.org/general-questions/show/21391
-
Re: Secure Files module in SS v.3

6 December 2012 at 4:19am
Don't suppose someone is able to send me over a version of the Secure Files module that works on v3? I really need it for a project that's going live soon. silverstripeforum[at]pswd.biz
Thank you!
| 571 Views | ||
|
Page:
1
|
Go to Top |



