Fix access control for types (#339).

Editing a type topic works.
Was broken since some days.

See ticket 339.