# Check if specific group(s) are in context - Pyson

**URL:** https://discuss.tryton.org/t/check-if-specific-group-s-are-in-context-pyson/4641
**Category:** Developer
**Created:** [September 20, 2021, 2:25pm UTC](https://discuss.tryton.org/t/check-if-specific-group-s-are-in-context-pyson/4641 "2021-09-20T14:25:17Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![locx](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/l/f04885/32.png) [@locx](https://discuss.tryton.org/u/locx)
#### Post date: [September 20, 2021, 6:57pm UTC](https://discuss.tryton.org/t/check-if-specific-group-s-are-in-context-pyson/4641/4 "2021-09-20T18:57:54Z")

</div>

> [@Check if specific group(s) are in context - Pyson](https://discuss.tryton.org/t/check-if-specific-group-s-are-in-context-pyson/4641/2):
>
> Hello, Is there a reason why you cannot just remove write access for this field on this group ?

See:

> [@Allow user to view and save a field, but not edit](https://discuss.tryton.org/t/allow-user-to-view-and-save-a-field-but-not-edit/4636):
>
> On the invoice form, suppose I don’t want a user to be able to change the field ‘Invoice Address’, which is populated automatically when the Party is selected. To do that I disable write access for the field, but now, on saving the record, that field is not saved. How can I allow the field to be viewed and saved, but not edited by a specific user?

---

_[View the full topic](https://discuss.tryton.org/t/check-if-specific-group-s-are-in-context-pyson/4641)._
