YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.72k stars 742 forks source link

You don't have the permissions required to view/edit this record. Contact the administrator if you should have the permission to view it. #10230

Closed guide5232 closed 5 years ago

guide5232 commented 5 years ago

🐞 bug report

I have given all permission to users but user can not able to edit records of others that time users getting below error "You don't have the permissions required to view/edit this record. Contact the administrator if you should have the permission to view it".Actually they have all permission to edit and create and view permission. Permission

Note:Here one bug there when ever user getting this error that time i have edit user profile and i made little bit changes (like add or remove Other event duration (mins)) in that user profile. after changes usre profile user can not getting " "You don't have the permissions required to view/edit this record. Contact the administrator if you should have the permission to view it"" error .they can able to edit records of others . users getting this problem every 2 or 3 days once.

⁉️ Describe the bug

πŸ”₯ How to trigger the error

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

πŸ‘Ž Actual Behavior

πŸ‘ Expected Behavior

πŸ“· Screenshot of configuration

πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

🌍 Your Environment

Environment Version / Name
YetiForce 5.1
Web server (name and version) Apache
PHP 7.1.x, 7.2.x, 7.3.x (dev)
Browser (name and version) google chrome
Operating System (name and version) Windows
Database (name and version) mysql

❓ Additional context

Add any other context about the problem here.

mariuszkrzaczkowski commented 5 years ago

github

guide5232 commented 5 years ago

🐞 bug report

I have given all permission to users but user can not able to edit records of others that time users getting below error "You don't have the permissions required to view/edit this record. Contact the administrator if you should have the permission to view it".Actually they have all permission to edit and create and view permission. Permission

Note:Here one bug there when ever user getting this error that time i have edit user profile and i made little bit changes (like add or remove Other event duration (mins)) in that user profile. after changes usre profile user can not getting " "You don't have the permissions required to view/edit this record. Contact the administrator if you should have the permission to view it"" error .they can able to edit records of others . users getting this problem every 2 or 3 days once.

⁉️ Describe the bug

πŸ”₯ How to trigger the error

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

πŸ‘Ž Actual Behavior

πŸ‘ Expected Behavior

πŸ“· Screenshot of configuration

πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

🌍 Your Environment

Environment Version / Name
YetiForce 5.1
Web server (name and version) Apache
PHP 7.1.x, 7.2.x, 7.3.x (dev)
Browser (name and version) google chrome
Operating System (name and version) Windows
Database (name and version) mysql

❓ Additional context

Add any other context about the problem here.

guide5232 commented 5 years ago

Please don't ignore it.this thing is happening in only one role,Please give me solution.

mariuszkrzaczkowski commented 5 years ago

πŸ”₯ How to trigger the error πŸ“· Screenshot of configuration πŸ“ PHP/Apache/Nginx/Browser/CRM Logs

guide5232 commented 5 years ago

Please check it _Importer.log _system.log

_updateLogsTrace.log Importer.log php.log system.log

updateLogsTrace.log

_errors.txt errors.txt

vovpff commented 5 years ago

Cron enabled?

guide5232 commented 5 years ago

Yes enabled

KatarzynaUlichnowska commented 5 years ago

Hello, as our dev requested more info and you ignore his requests please record a video on our GitDeveloper version where you will show what the problem is. Once we see it, we will be able to tell you what was misconfigured.

manwenick commented 4 years ago

Hello @guide5232 ! Did you solve this problem? I have the same problem on my system in module projects. I gave all permissions to the user, But the user receive this error. My cron is even enabled, all configs are fine. I don't understand it too. What do you use as a web server apache or nginx? Kind regards!

snenko commented 4 years ago

I have the same problem

snenko commented 4 years ago

I fount the reason why is "Permission denied". I think the problem when a role is saving several profiles.

I separate profiles by functionality: knowledgebase and Passwords And If "Passwords Profile" will be after knowledgebase so "Passwords Management" will be locked.

image

The solution is: combine all permission in one profile for one role.

manwenick commented 4 years ago

I fount the reason why is "Permission denied". I think the problem when a role is saving several profiles.

I separate profiles by functionality: knowledgebase and Passwords And If "Passwords Profile" will be after knowledgebase so "Passwords Management" will be locked.

image

The solution is: combine all permission in one profile for one role.

Hi @snenko , I just tried to change the permissions in the way you described it. It worked for me! Question to @mariuszkrzaczkowski @KatarzynaUlichnowska is it normal behavior of the permission model? Or is it a bug?