Okay... I realised the way I was doing #7 was completely asanine and complicated. Why was a creating a new exception that had to be calculated on every listing... it was just plain stupid, a pain in the ass, and added a lot of extra queries. So I made it simple...
The whole category setting stuff works as usual... you can turn off listing of categories for usergroups on a case by case basis, as well as the option to de-activate the category for everybody. As well, when searching by tags and users, it will call on the category of the video and exclude videos that are in categories that a user does not have permission to read.
But now I have added a new usergroup permission called "Can Watch Videos". Unless this is set to yes, a usergroup can not watch any videos. They can do everything else that they have permissions for, but hey cant watch videos. This would be great if you want to let unregistered/guests view all video information, but not actually watch the video itself.
Its a lot simpler this way.
|