Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Add generators for Rails environments #7

@ReneB

Description

@ReneB

Two generators come to mind:

  • install, which would contain:
    • the privileges config file
    • an app/roles directory
    • possibly the routes to the overrides page (should be skippable) - This would just be "mount this engine here"
    • an initializer to inject the group_checker dependency.
  • context_role, which would generate:
    • a new file in app/roles with a skeletal layout (possibly in a subdirectory!)
    • a pathological testcase for this role (depending on test framework)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions