Skip to content

DataInstance should extend AccessibleResource #9511

@driusan

Description

@driusan

isAccessibleBy is a method that you should be able to call on any arbitrary DataInstance object.

This was not done initially, because it extends jsonSerializeable, but in fact, since it is an interface, it can extend both interfaces to ensure that DataInstance implementations implement both.

Related to #7417 (this would allow use to share concrete instances of a DataInstance objects between provisioners and entities.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: CleanupPR or issue introducing/requiring at least one clean-up operationCategory: RefactorPR or issue that aims to improve the existing codeDifficulty: MediumPR or issue that require a moderate effort or expertise to implement, review, or testLanguage: PHPPR or issue that update PHP codeProposalPR or issue suggesting an improvement that can be accepted, rejected or altered
    No fields configured for Enhancement.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions