Fix bug with default permission of "role" directive.

The default permission used to not be set correctly.