[Vtigercrm-developers] caching user privileges

Prasad prasad at vtiger.com
Sat Mar 17 10:58:44 PDT 2012


Adam,

Good to see your refactoring work progress. I'm curious   about your
approach of testing the changes made?

Are you using any phpunit test cases?

Regards,
Prasad

*Connect with us on: *Twitter <http://twitter.com/#!/vtigercrm> *I*
Facebook<http://www.facebook.com/pages/vtiger/226866697333578?sk=wall>
 *I* Blog <http://blog.vtiger.com/>* I*
Wiki<http://wiki.vtiger.com/index.php/Main_Page>
 *I *Forums  <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>


On Sat, Mar 17, 2012 at 1:25 AM, Adam Heinz <amh at metricwise.net> wrote:

> Second patch added!
> http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7379
>
> I went ahead and split out the role privileges into a new Roles class,
> which surprisingly was the majority of the privileges.  This suggests
> that the user_privilege files have contained a lot of redundant data,
> that the new hierarchical implementation has done away with.  I also
> dipped my toe into the water refactoring functions in UserInfoUtils to
> use Roles.  It definitely shows promise, but I didn't want to get too
> sidetracked from my goal.
>
> Next up, sharing privileges!
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20120317/d82fb154/attachment-0002.html 


More information about the vtigercrm-developers mailing list