Buildpals / tenderswift

Tenderswift is a web application that streamlines the tendering process for construction companies by allowing them to send, receive and evaluate requests electronically, saving them time and money.
1 stars 0 forks source link

Send an email to Alfred whenever a user publishers a request for tender #27

Open peter-ohara opened 5 years ago

bkwaku commented 5 years ago

@peter-ohara Why should this be done? I thought Google Analytics was tracking everything?

peter-ohara commented 5 years ago

@bkwaku The email would have the admin link for the rft such that, Alfred can take a look at the users rft and make corrections to it if necessary (even though it would have already been published)

bkwaku commented 5 years ago

@peter-ohara the problem is once the request for tender is published it can't be edited. Remember that? So since the 'submitted_at' feature is gone there isn't much we can do.

peter-ohara commented 5 years ago

@bkwaku The edit permissions are enforced by the pundit policy classes, in those classes you can check if the user is an admin, and allow editing from there.

peter-ohara commented 5 years ago

This feature is not high priority though so you can delay implementation.

bkwaku commented 5 years ago

@peter-ohara it's not about the feature. Alfred said request for tenders cannot be edited after they are published.