githubbob42 / mingle2github2

0 stars 1 forks source link

Add ability to check if current user has license to given package #5307

Open githubbob42 opened 5 years ago

githubbob42 commented 5 years ago

Mingle Card: 5666 Narrative

As we add more functionality to Mobile and our tooling, we will need to check if the current user is licensed for a specific package.

Acceptance Criteria

Provide a method to check if the current user is licensed for a given package/namespace.

Analysis

Create a REST API endpoint that checks if the current user is licensed for a given package/namespace.

I think this may work:

/services/apexrest/FX5/ping?namespace=FX5

I’ve tested this with several package namespaces and it seems to work fine.  The name just stinks for it…

Related Stories

[alpine_mobile/#5036] Update licensing check

Tasks

{{ table query: SELECT Number, Name, Owner, 'Task Status' WHERE Type = Task and Story = THIS CARD ORDER BY Status }}

Defects

{{ table query: SELECT Number, Name, Owner, 'Status' WHERE Type = Defect and 'Related Story' = THIS CARD }}

Test Plan

https://github.com/Liquidframeworks/alpine-package/pull/738

githubbob42 commented 5 years ago

Pull Request #738