I'm using Ormauth and Auth::groups() method. After editing some groups this method returns cached array of groups. How could I get current version of this list?
OrmAuth caches the compiled results for speed purposes.
If you change the data, you need to flush the cache so it can be rebuild:
\Cache::delete('<your-cache-prefix>.groups'); // delete the group cache \Cache::delete('<your-cache-prefix>.roles'); // delete the role cache \Cache::delete('<your-cache-prefix>.permissions'); // delete all user permissions caches \Cache::delete('<your-cache-prefix>.permissions.user_<userid>'); // delete the permissions cache of a specific user