# (EMA/EIV) Edit and New view
* refactors 'new' view methods into classes for eiv and ema
* refactors 'edit' view methods into classes for eiv and ema
* reorganizes permissions on non-conservation-office users on ema entries
* users can now open the log view properly if they have shared access
* ema actions that require conservation office permission are now hidden on the frontend for non-conservation-office users
This commit is contained in:
@@ -118,6 +118,7 @@ class EmaViewTestCase(CompensationViewTestCase):
|
||||
self.index_url,
|
||||
self.detail_url,
|
||||
self.report_url,
|
||||
self.log_url,
|
||||
]
|
||||
fail_urls = [
|
||||
self.new_url,
|
||||
@@ -133,7 +134,6 @@ class EmaViewTestCase(CompensationViewTestCase):
|
||||
self.action_remove_url,
|
||||
self.action_new_url,
|
||||
self.new_doc_url,
|
||||
self.log_url,
|
||||
self.remove_url,
|
||||
]
|
||||
self.assert_url_fail(client, fail_urls)
|
||||
|
||||
Reference in New Issue
Block a user