Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/approve reject #5

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Feature/approve reject #5

wants to merge 19 commits into from

Conversation

zelima
Copy link
Contributor

@zelima zelima commented Dec 4, 2018

  • update is_admin helper to filter by owner_org (used show buttons)
  • approve/reject buttons at the bottom of the package
    • the disqus comment section for feedback (available only if pending/rejected)
  • notify editor package has been rejected
  • controllers to approve/reject
    • check logged in user has perms to delete -> approve/reject

Note: This PR includes all changes from #3 and #4

zelima and others added 19 commits November 28, 2018 13:24
- pass the context to get popular and recently viewed datasets
- update test to pass user name to context
- update layout1 to pass username to helper
- new test case  to cehck only approved datasets are listed
- get rid of approved
- correct role for readers
call_action sets ignore_auth=True by default, which basically means that
everybody can `package_update`, so the the check on `package_show`
doesn't work. Also simplified the tests when possible.
- override package_create to send email if approval_pending
- Email template including info about package, user and admin
- tests
- update is_admin helper to filter by owner_org (used show buttons)
- approve/reject buttons at the bottom of the package
  - discus comment section for feedback (available only if pending/rejected)
- notify editor package has been rejected
- controllers to approve/reject
  - check logged in user has perms to delete -> approve/reject
@zelima zelima assigned amercader and unassigned amercader Dec 4, 2018
@zelima zelima requested a review from amercader December 4, 2018 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants