Will Leaf work if Authorization.RolesMapping.Admin does not have an associated group? #435
-
Hi Leaf Folks Will Leaf work if My plan is to disable Admin for everyone, and perform all administration via modifications to the I wonder whether there's another way to specify the admin users, perhaps by associating more than one Azure AD application with a leaf instance, or by some other trick. But I have more important things to do in the next few weeks. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @artgoldberg, Yes, Leaf should work even if You should be able to manage Leaf solely using If you don't use a "Dynamic" Dataset, but rather a FHIR template Dataset (ie, with predefined column name & types), this isn't necessary. More information on Dynamic vs. FHIR template Datasets can be found at https://leafdocs.rit.uw.edu/administration/datasets/#determine-the-template-and-query. Regarding another way to specify admin users, I'm not sure. I'm not very familiar with Azure AD, and besides creating an Admin group and adding yourself to it, I can't think of any other way. |
Beta Was this translation helpful? Give feedback.
Hi @artgoldberg,
Yes, Leaf should work even if
Authorization.RolesMapping.Admin
is a non-existent group or blank string (we often set this as"NOT USED"
in appsettings.json in these cases). The above plan makes sense.You should be able to manage Leaf solely using
LeafDB
via SQL statements, and we do so (partially) as well. The only case I can think where this may be especially tricky is when defining Dynamic Datasets. Essentially, when you create a Dynamic Dataset for the Patient List (dynamic in the sense that SQL columns are custom and don't match a particular template), theLeafDB
DynamicDatasetQuery
table stores the output column metadata as json in aSchema
field. This metadata tell…