Quote:
Originally Posted by sparklywater
Andrew, I'd be grateful if you can let me know how to make the following change to my LDM setup. I know that currently the 'can_access_link' permission prevents users from accessing ALL links in a given category. However, I want to change this so that the permission affects all links EXCEPT those that are playable in a media player, ie. those that are played by the LDM Jukebox. In other words, those who have the 'can_access_link' permission set to false should still be able to access a media file which is played by LDM. I'm quite sure that this is possible using conditionals in some function, but I don't know what code-edits to make.
|
This is not straightforward, because there are checks on can_access_link in several places/files, precisely to stop people from bypassing the control. Not all those checks take place in situations where the code is aware of the entry's type. I am reluctant to spent the time to work out how to modify things, particularly since these changes would need to be re-thought with each subsequent release.