# Setting default user role on creating in panel

**URL:** <https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927>\
**Category:** Questions\
**Tags:** v3\
**Created:** [July 14, 2019, 11:11am UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927 "2019-07-14T11:11:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmetbora](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ahmetbora/32/11671_2.png) [@ahmetbora](https://forum.getkirby.com/u/ahmetbora)\
**Post date:** [July 14, 2019, 11:11am UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927/1 "2019-07-14T11:11:10Z")

</div>

How can i set the default user role and language on create?

I changed the `default.yml` but nothing happened.  
Default role is `admin` and language `English` (site language is Turkish) always.

I want to set default role is `customer.yml`, language is `Turkish`.

I have four roles for test:

- admin.yml (title: Yönetici)
- agent.yml (title: Satış Temcilcisi)
- customer.yml (title: Müşteri)
- default.yml (title: Varsayılan)

Also when i try to create new user, `default.yml` user role not seen.

 ![com](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/3/36bab9f85659a0e0df05442ccd33deee0ae058ff.png)

Is this possible or am I doing it wrong?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 14, 2019, 11:23am UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927/2 "2019-07-14T11:23:36Z")

</div>

There is nothing like user role called `default`. The `default.yml` only sets the fields that are standard for any user without a specific blueprint.

Maybe setting the default language will be possible with the new user models introduced in 3.2 (but currently not working yet).

As regards a default user role (guess you. mean what is preselected in the create dialog in the Panel), I don’t know if that. possible (probably not).

---

<div class="post-metadata">

**Author:** ![ahmetbora](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ahmetbora/32/11671_2.png) [@ahmetbora](https://forum.getkirby.com/u/ahmetbora)\
**Post date:** [July 14, 2019, 11:37am UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927/3 "2019-07-14T11:37:56Z")

</div>

I understood.

I know the entire system as developer but end user may miss this role selection.

It would be nice to add such a development in config.php:

```
return [
    'users' => [
        'language' => 'tr',
        'role' => 'customer'
    ]
];
```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 14, 2019, 12:51pm UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927/4 "2019-07-14T12:51:44Z")

</div>

What you can do since Kirby 3.2

```auto
title: Editor
options:
  create:
    manager: true
    editor: false

```

Additionally, since 3.2.1, a non-admin cannot create admin users anymore.

Unfortunately, with the above setting, all roles are still selectable, you only get an error message, see [https://github.com/getkirby/kirby/issues/1917](https://github.com/getkirby/kirby/issues/1917)

I understand that probably doesn’t solve your issue, since setting a default user is still not possible.

---

<div class="post-metadata">

**Author:** ![ahmetbora](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ahmetbora/32/11671_2.png) [@ahmetbora](https://forum.getkirby.com/u/ahmetbora)\
**Post date:** [July 14, 2019, 2:46pm UTC](https://forum.getkirby.com/t/setting-default-user-role-on-creating-in-panel/14927/5 "2019-07-14T14:46:18Z")

</div>

Thank you, i suggest an idea:

> <https://github.com/getkirby/ideas/issues/347>
