MetaCell / MetaCell/cloud-harness

CloudHarness Django integrate client and role creation/checking with CH deployment application roles

Open
#569 0 comments 0 reactions 0 assignees View on GitHub
scope:code-generation scope:python-runtime
Dominant language
Python
Stars
19
Forks
5
Avg merge
3d 18h
Merged PRs (30d)
3

Description

In CH value.yaml we can set up client roles (see https://github.com/MetaCell/cloud-harness/blob/develop/docs/model/ApplicationAccountsConfig.md)

It would be nice is these roles can be used for CH Django based apps instead of setting the roles in the settings.py see https://github.com/MetaCell/cloud-harness/blob/27d7d721c81ba61dd6cfc01ca178d47fc65ebbfa/tools/cloudharness_utilities/application-templates/django-app/backend/__APP_NAME__/settings.py#L153

implementation wise we should think about how to map a role to Django superuser and staff users types

Contributor guide

No contributing guide indexed for this repository

Research direction

Read docs/model/ApplicationAccountsConfig.md and the CH value.yaml role configuration, then inspect tools/cloudharness_utilities/application-templates/django-app/backend/__APP_NAME__/settings.py around line 153. Establish how deployment application roles should be consumed by Django apps and how they map to superuser and staff users; done means the role setup no longer needs to be duplicated in settings.py.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.