跳至内容
菜单
此问题已终结
1 回复
6382 查看

I want to hide button edit in project issue for user. So that user can't edit recorded issue, but I don't find the button code for edit. Anyone can help me?thanks

形象
丢弃
最佳答案

The buttons create and edit are part of the framework (field *many). You can use record rules and access control list to tune this. (Settings / Security)

Also you can edit the view and the field and use attrs (readonly, visible, . . .)

Ok, expand the answer. Settings --> Users --> Groups and search project user Open this (form view)

If the user has access rigths project/User (this is, the user is on the group project/user), you can see on access rights all access for this group. Search the access for Project Issue, and you can see why the users on this group can read, write, create and delete (all checks ON). If you only check the option READ, this user (and all user on this group) cant create project issues.

Maybe a solution, is duplicate this group, rename and apply to the specified user you need.

形象
丢弃
编写者

i have tried use record rules and access control list. But , it doesn't work , user still can edit the record. I also have tried change access rights in models project.issue become "can't Write" for user , after that user become can't create and edit. Can you tell me the step for detail what I have to do in record rules and access control list.Thank you

编写者

Sorry Mr Juanjo Algaz can you reply my comment pleasee?I need this problem solved urgently..thank you

I edit my answer. If this answer it's ok for you, please mark this.

编写者

Thank you for the answer , but I have tried to change access that project user only can read and create in models project issue. But after that user can't edit and also can't create because the write access is unchecked. So , it still can't working

You need access to write and edit to create a object (project.issue). If a user can create, this user can edit the object. You can use a different role to create issues (maybe automatically from mail) or limit the posibility to edit only the issues with user asigned

编写者

how to limit the possibility to edit only the issues he assigned?

相关帖文 回复 查看 活动
2
10月 23
1571
0
10月 21
1782
0
8月 15
2965
3
6月 15
7912
1
3月 15
4058