renaming activities 'permission' to 'visible'

...ommit 5d20432)

This fixes issue #1089