You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sails.js
i want to update my api/controllers/applicant/applicantController.js in this file i can successfully update the record i also added policies/applicants/isAuth.js
but i don't know how can i use it in my sails.config.policy
when ever i use this it shows undefined why it's not working properly...
ApplicantController:{ 'update': 'isAAuth', },
David Griffith
unread,
May 10, 2018, 11:00:55 PM5/10/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sails.js
Check your spelling 'isAAuth' - double AA's there. Cheers