Assets

Will be available in version 2.71.1

In order to support a more flexible solution for identity based access management, not tied to complex product structures, Assets are new solution that will enable clients to specify what the user has access to themselves, without any explicit requirements from Schibsted account.

Via POST /user/{id}/asset/{assetId} endpoint client is able to create (or modify) access to asset for user.

  • {id} can be user_id or UUID
  • {assetId} must be non-numeric identifier see more assetId type

Use cases

Use Cases for handling access checks for NON-Schibsted account assets are many:

  • check if you have access to a specific purchased e-book
  • check if you have purchased a Finn-ad addon
  • check if you have paid for an account upgrade
  • check if you have access to a restricted feature (like disabling users on the client)
  • check if you have access to some product not currently defined in the Schibsted account product structure because the product structure doesn’t match the client’s product structure requirements
  • check if you have access to a specific news article

Comments/feedback

Do you have questions, or just want to contribute some newly gained insight? Want to share an example? Please leave a comment. Our team reads and responds to every question. Additionally, your experience can help others using Schibsted account, and it can help us continuously improve our documentation.