Skip to content

Realms, settings, menu, and navigation #28

Closed

Description

@somethingwithproof

Summary

Pages follow Cacti's permission and settings model.

Requirements

  • REQ-UI-001 The plugin MUST register two realms, Cloud View and Cloud Admin, and every page MUST belong to exactly one.
  • REQ-UI-002 Account, credential, and graph-creation pages MUST require Cloud Admin; creating Cacti devices MUST also require Cacti's device realm.
  • REQ-UI-003 Settings MUST use the config_settings hook with validated values and documented defaults.
  • REQ-UI-004 Every form MUST rely on csrf-magic, and state-changing actions MUST accept only POST.
  • REQ-UI-005 Navigation MUST use draw_navigation_text so breadcrumbs work on every page.

Acceptance criteria

  • Each page denied to a user without its realm.
  • State-changing GET requests redirected without effect.

References

Dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: code-structureClasses, layout, and Cacti conventionsarea: securityTrust boundaries, permissions, and secret safetyphase: 1 coreCore and DigitalOceanpriority: highNeeded for its milestonetype: requirementA testable behavior the plugin must have

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions