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

Structure metadata sharing #14

Open
1 task done
gklyne opened this issue Sep 11, 2014 · 4 comments
Open
1 task done

Structure metadata sharing #14

gklyne opened this issue Sep 11, 2014 · 4 comments

Comments

@gklyne
Copy link
Owner

gklyne commented Sep 11, 2014

  • Support import types/views/lists/fields/etc. from another collection
@gklyne
Copy link
Owner Author

gklyne commented Feb 2, 2015

  • Generalize collection/site hierarchy to use a "search path" of imported collections. See also next item.
  • Think about implementing site data as a distinguished collection, thereby exploiting the access control framework for site metadata updates.
  • NO (currently going with just _annalist_site) _annalist_core for software-defined values, and _annalist_site for local overrides?
  • Refer collection management permissions (create/update/etc) to _annalist_site collection - this will make it easier to define top-level permnissions through Annalist itself, rather than relying on annalist-manager.

@gklyne
Copy link
Owner Author

gklyne commented Nov 2, 2015

(These comments copied from issue #15 so that issue can be closed.)

  • Enumerated values are hard-wired into models.entitytypeinfo - move them to regular type/data files in site data collection?
  • Currently, it seems all _annalist_site values need to be hard-wired in entitytypeinfo; maybe look to use collection "search path" logic instead (see above).

@gklyne gklyne mentioned this issue Nov 2, 2015
5 tasks
@gklyne gklyne added this to the V0.x alpha milestone Nov 2, 2015
@gklyne gklyne removed this from the V0.x alpha milestone Dec 7, 2015
@gklyne
Copy link
Owner Author

gklyne commented Dec 7, 2015

Removed V0.x milestone as goals for this release have been addressed. There are some additional tasks to be revisited later.

@gklyne gklyne modified the milestone: V0.x alpha Dec 7, 2015
@gklyne
Copy link
Owner Author

gklyne commented Jan 5, 2017

The site enumerated values are now stored as regular type values, but they are still hard-wired in entitytypeinfo to use dynamically-generated class instances from recordenum. At the present time, it's not clear that this serves any functional purpose, but might in future be used to support additional enumerated-value-specific logic (e.g. migration?).

All TODOs on this issue are now ticked off, but issue left open pending a decision on whether or not to remove the special enumerated-value logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant