FGA Dashboard Cannot Open Old Models

Hi FGA, I tried to post this previously but it got marked as spam and removed. My company are looking at using FGA. The FGA dashboard won’t open for one of my models and another account because we have data from the v1.0 model. I’d love to give you a screenshot and more detail but I’m afraid it will get flagged again. I’ll reply with more information if this works.

OK now I’ve got past the filter, this is the error message I’m seeing when I open up the dashboard. I’m trying to clean up old accounts but the dashboard won’t open.

Hi @john.meegan.inx - thanks for raising this. We’ll investigate and get back to you soon

1 Like

@john.meegan.inx the fix should be in production now - note that the displayed model will have errors as we no longer support displaying 1.0 models

What you will see will look like an incomplete 1.1 model
e.g. all the as self will be replaced with [] - you have to fill those in with your type restrictions to make the model work.

e.g. if you had something resembling the old github 1.0 model, you will see:

model
  schema 1.0

type organization
  relations
    define member: [] or owner
    define owner: []
    define repo_admin: []
    define repo_reader: []
    define repo_writer: []

type repo
  relations
    define admin: [] or repo_admin from owner
    define maintainer: [] or admin
    define owner: []
    define reader: [] or triager or repo_reader from owner
    define triager: [] or writer
    define writer: [] or maintainer or repo_writer from owner

type team
  relations
    define member: []

type user

NOTE: The server itself no longer allows saving or querying against 1.0 models and you will need to update and fix the model in order to be able to save it.

1 Like

Yes that’s got it working now thankyou!