Skip to content

Make Site DB available without connecting to progr... #433

@github-actions

Description

@github-actions

Make Site DB available without connecting to program DB.

# ISSUE: Make Site DB available without connecting to program DB.

        :param __widget: the Gtk.ImageMenuItem() that called this class.
        :return: None
        :rtype: None
        """
        _dialog = EditOptions(parent=self)

        pub.sendMessage('request_get_option_attributes',
                        node_id='siteinfo',
                        table='siteinfo')

        # ISSUE: Make Site DB available without connecting to program DB.
        #
        # The site DB should be available without having to connect to a
        # program DB.  Currently the site DAO is a member of the
        # ProgramManager's dict of data managers.  The site DAO needs to be
        # made available out of __main__.py or the ProgramManager needs to
        # be made accessible to the RAMSTKDesktop so site options can be
        # accessed.
        # assignees: weibullguy
        # label: globalbacklog, normal
        if _dialog.do_run() == Gtk.ResponseType.OK:
            print("Need site admin or higher privileges.")

        _dialog.do_destroy()

ndex 34a81352..7e0e9b96 100644
++ b/src/ramstk/views/gtk3/widgets/label.py

4e42b0a21237599ab55f71e9aee271ab314c708a

Metadata

Metadata

Assignees

No one assigned

    Labels

    bump: minorIssue or PR documents a new feature requiring a minor version bump.dobranchCreate issue branch when issue is assigned.priority: normalIssue or PR is normal priority.status: inprogressIssue or PR is open, milestoned, and assigned.todoIssue was created automatically from an ISSUE statement in the code.type: featureIssue or PR adds or requests new functionality.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions