Changelog#
[0.1.0] - Unreleased#
Added#
ResourceMapping, which stores the resources of a SCIM model in the records of a SQLAlchemy model, withAttribute,ManyandLink. ALinklinks to one resource, such as amanager, or to several, such asmembers.SqlAlchemyStorageandAsyncSqlAlchemyStorage, which serve the mappings to scim2-server. They filter, sort and page the resources in the database, on one resource type or at the root of the server. They page withstartIndex, or with the cursors of RFC 9865, which give stable pages. The asynchronous storage needs theasyncioextra.ResourceMapping.schemas, which publishes the attributes a mapping stores.Filters, sorts and uniqueness checks compare strings with the comparison key of the policy of the provider: exactly on SQLite, and approximately on PostgreSQL.
A column of type
Enumholds the string it stores: the name of the member, or its value withvalues_callable. Filters and sorts compare this string, also on the native enumerations of PostgreSQL. A string outside the enumeration is refused withinvalidValue.A search or a read does not load the collections that
attributesandexcludedAttributesremove from the response, such as the members of the groups.