# How to use cloud\_username as filter for layer?

**URL:** https://community.qfield.org/t/how-to-use-cloud-username-as-filter-for-layer/1374
**Category:** Ask the Community
**Created:** [6 December 2025 12:00 UTC](https://community.qfield.org/t/how-to-use-cloud-username-as-filter-for-layer/1374 "2025-12-06T12:00:57Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![fggs-pascal](https://dub1.discourse-cdn.com/flex018/user_avatar/community.qfield.org/fggs-pascal/32/732_2.png) [@fggs-pascal](https://community.qfield.org/u/fggs-pascal)
#### Post date: [8 December 2025 10:39 UTC](https://community.qfield.org/t/how-to-use-cloud-username-as-filter-for-layer/1374/3 "2025-12-08T10:39:13Z")

</div>

Hi! I unfortunately haven’t worked with filters so far, but you can set up expression-based permissions for a layer, which might give you the result you want.

If I remember correctly, the example below would make it so that a feature can only be edited if the @cloud\_username matches the value in the field “user”, when put in “Disable attribute editing”, “Disable feature deletion”, and “Disable geometry editing”.

 ![image](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/eda9b9c31d6b9236f7946f0db2d11c72384a2459.png)

---

_[View the full topic](https://community.qfield.org/t/how-to-use-cloud-username-as-filter-for-layer/1374)._
