Skip to content

Comments

feat(capabilities): add support capabilities to indicate invalid subs…#12

Open
Arsalanulhaq wants to merge 3 commits intomainfrom
as/dev/add_capabilites_file
Open

feat(capabilities): add support capabilities to indicate invalid subs…#12
Arsalanulhaq wants to merge 3 commits intomainfrom
as/dev/add_capabilites_file

Conversation

@Arsalanulhaq
Copy link
Contributor

This pull request introduces a new capability to the app by implementing a Capabilities class and registering it with the application context. The main purpose is to explicitly declare that the app does not have a valid subscription by setting hasValidSubscription to false in the capabilities response.

Capability declaration and registration:

  • Added a new Capabilities class in lib/Capabilities.php that implements the ICapability interface and returns a support capability with hasValidSubscription set to false.
  • Registered the new Capabilities class as a capability in the application by updating the register method in lib/AppInfo/Application.php.
  • Imported the Capabilities class in lib/AppInfo/Application.php to enable its registration.

@Arsalanulhaq Arsalanulhaq force-pushed the as/dev/add_capabilites_file branch from 0d5eaaf to 9b81da5 Compare February 23, 2026 12:46
…iption status

Signed-off-by: Arsalan Ul Haq Sohni <arsalan-ul-haq.sohni@strato.de>
…ion tests

Signed-off-by: Arsalan Ul Haq Sohni <arsalan-ul-haq.sohni@strato.de>
…lass

Signed-off-by: Arsalan Ul Haq Sohni <arsalan-ul-haq.sohni@strato.de>
@Arsalanulhaq Arsalanulhaq force-pushed the as/dev/add_capabilites_file branch from 9b81da5 to e5478c2 Compare February 23, 2026 13:33
@Arsalanulhaq Arsalanulhaq modified the milestones: rc/ncw-5, ncw-5 Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant