equal
deleted
inserted
replaced
157 |
157 |
158 try: |
158 try: |
159 # check if the current user is a host for this program |
159 # check if the current user is a host for this program |
160 rights.doCachedCheck('checkIsHostForProgram', |
160 rights.doCachedCheck('checkIsHostForProgram', |
161 {'scope_path': entity.scope_path, |
161 {'scope_path': entity.scope_path, |
162 'link_id': entity.link_id, |
162 'link_id': entity.link_id}, []) |
163 'workflow': entity.workflow}, []) |
|
164 |
163 |
165 if entity.status == 'invisible': |
164 if entity.status == 'invisible': |
166 # still add the document links so hosts can see how it looks like |
165 # still add the document links so hosts can see how it looks like |
167 items += document_view.view.getMenusForScope(entity, params) |
166 items += document_view.view.getMenusForScope(entity, params) |
168 |
167 |