Re: Version 1.2 Permissions Problems |
Subject: Re: Version 1.2 Permissions Problems by Krobi on 2007/1/31 22:54:50 hello thank you for you feedback. and yes you are right with some points - first of all, gonzo and i did this module so you are on the right and best place for feedback about pd-downloads. you are absolutly right that $groups is an array, but we cant simply write "b.gperm_groupid = $groups", because it will end with that "b.gperm_groupid = Array". because we need to extract the array and make a right sql query out of it. the possible solution for that would be: get the size of the array, then we could make a string in a loop - so we could add every bit of the array to a string. so the result could be like this "b.gperm_groupid = 0 and b.gperm_groupid = 1" (and so on), but we have to test it if it works like i think. by the side, you are right about the problem - this is not new at all - the simplest and fastest solution is to put every user in only one group, its not a nice fix but it works i have to say that i dont have much free time at the moment to do developing on our modules and when i have free time i often have to do other thinks (that the true and the real life ) but i try to give me best to support every request, often i cant give a fix for problems because of my work but i always try to answer request and support them as good as possible. |