by slashrsm: Add test for dynamically generated permissions.