anaspk/dmv_real_estate

Hide "List a Property" button from unauthorized users

anaspk opened this issue · 1 comments

There is a button labeled "List a Property" on site/dashboard that takes user to the form for creating a new property for funding purposes. Hide it from those users who do not have priviliges to perform this task. Currently, it is being displayed to all users and when those whose role don't allow them to list a property click on this button, they get a blunt 403 error stating that "You are not authorized to perform this action".

Done.