01-15-2021, 11:45 AM
I think you are right, the duplicate button should not be available if the profile does not permit creating
I had a look at the code and see that this comes all the way back from our origins in vtigerCRM, they showed the button or not depending on the edit permission, but they didn't have a separate create option in the profile then so there was nothing more they could do. When we added the create option we left the edit check, which I think is incorrect. I am more worried about the fact that you can actually save the record, I would have expected it to not permit you.
Give me some time to review this and I will fix it
I had a look at the code and see that this comes all the way back from our origins in vtigerCRM, they showed the button or not depending on the edit permission, but they didn't have a separate create option in the profile then so there was nothing more they could do. When we added the create option we left the edit check, which I think is incorrect. I am more worried about the fact that you can actually save the record, I would have expected it to not permit you.
Give me some time to review this and I will fix it
Joe
TSolucio
TSolucio