added 'permission' attribute to notebook metadata: view or edit