Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow "Copy from archive", but stop instantiation from direct URL #750

Open
xmrsa opened this issue Sep 6, 2024 · 0 comments
Open

Allow "Copy from archive", but stop instantiation from direct URL #750

xmrsa opened this issue Sep 6, 2024 · 0 comments
Labels

Comments

@xmrsa
Copy link

xmrsa commented Sep 6, 2024

Description

We (SSB) usually have prefill sent with a subscription. In order to allow the user to create a copy from archive, we need to let them have rights that lets them "instatiate" the app. We have to use "autoCreate": false because of how the prefill is sent. This causes problems when a user tries to start an app directly from an URL. There is no data model, and therefore the app will be left hanging until it crashes in a "not-so-pretty" way.

We need to be able to either have some way to allow copy from archive to work for a user without being allowed to instantiate, or be able to make a rule on instantiation that can give the user some kind of useful message like "You have to open the schema from your Altinn inbox, or create a new copy from your archive".

Additional Information

See Slack discussion here https://altinn.slack.com/archives/C02EVE4RU82/p1725622983665109

@xmrsa xmrsa added the kind/feature-request New feature or request label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant