Fix for perissions metadata when @AccessControl annotation isn't used