Skip to content

Conversation

@SuitDeer
Copy link

…access control management in groups

⚠️⚠️⚠️ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/dockge/blob/master/CONTRIBUTING.md

Tick the checkbox if you understand [x]:

  • I have read and understand the pull request rules.

Description

I know big pull request are not welcome but for my personal use
I needed a user- and group-management for dockge.

Now the first user has admin rights an can manage (create, delete, modify) users.

Users now have a "is_admin" attribute. If set user and group management is also accessible via the "settings" menu.

Users without "is_admin" attribute can not create new compose stacks

But with "Groups" you can assign "users" to compose stacks.

So compose stacks can only be managed by "normal" users if there are in a group that contains stacks.

If the pull request gets applied some translations must be added to https://weblate.kuma.pet/ because of some new UI elements.

I have added new variables to frontend/src/en.json and frontend/src/de.json. But I only now these two languages.

Type of change

Please delete any options that are not relevant.

  • User interface (UI)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist

  • My code follows the style guidelines of this project
  • I ran ESLint and other linters for modified files
  • I have performed a self-review of my own code and tested it
  • I have commented my code, particularly in hard-to-understand areas
    (including JSDoc for methods)
  • My changes generate no new warnings
  • My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)

Dockge in Agent Mode

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-00-29

User Management Menu

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-01-34

Create user Pop-Up

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-01-57

Filled User Management Table

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-02-11

Group Management Menu

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-02-20

Create Group Pop-Up

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-03-23

Filled Group Management Table

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-03-41

Manage Group Pop-Up

(user: admin; is_admin: true)
Bildschirmfoto vom 2025-11-26 19-23-35

Bildschirmfoto vom 2025-11-26 19-23-53

View as "normal" user

(user: peter; is_admin: false)
Bildschirmfoto vom 2025-11-26 19-37-42
Bildschirmfoto vom 2025-11-26 19-37-54

Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

@SuitDeer
Copy link
Author

SuitDeer commented Dec 9, 2025

I had some time and updated the styling of the tables on groups- and users-page with commit 135a28f to integrated them more in the dockge styling theme:

Bildschirmfoto vom 2025-12-09 20-14-44 Bildschirmfoto vom 2025-12-09 20-15-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant