Skip to content

Clarify and Define Namespace Ownership and Format #65

@BryanttV

Description

@BryanttV

Description

In a recent PR discussion, we agreed to move forward with the current scope format for now. However, there are still open questions about namespacing and namespace ownership that need to be clarified to avoid potential collisions or unintended issues in the future.

Related comments

Open Questions

  • Namespace clarity Should all scopes include an explicit namespace, even when they don’t naturally have one?

    Example:

    • With namespace: course:course-v1:OpenedX+DemoX+DemoCourse
    • Without namespace: org:OpenedX
  • Namespace ownership

    Who defines and owns the existing namespaces (org, lib, course, etc.)?

    How should new extensions or custom scopes define their namespace to avoid collisions?

  • Consistency across entities

    Do we need to adjust definitions for other entities like role:<x>, act:<x>, user:<x>, etc., to keep the same format conventions?

  • Alternative notations

    Is there value in adopting a different separator (e.g., @ instead of :) to make IDs clearer and reduce ambiguity?

    Example:

    • Current: lib:lib:DemoX:CSPROB
    • Alternative: lib@lib:DemoX:CSPROB

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions