Disadvantages of Caching User Permissions
===

I'm writing an authentication package for an application in FuelPHP.  The permissions will be fairly fine grained and several permissions will need to be determined for each page load.

Are there any issues that would occur if I were to cache my groups_permissions table on the server, and query that each time, instead of querying the database each time?

The obvious issue that I thought of was that someone could change their permissions if they were to gain access to the server.  That argument doesn't really seem relevant, though, as if someone gained access to the server, they would have access to the database credentials, anyway.

Thanks,

James