Skip to content

v8.0.0-dev.31

Pre-release
Pre-release

Choose a tag to compare

@ioancrisan ioancrisan released this 01 Jun 18:41
· 1757 commits to master since this release
  • Application

    • Added support for allowing application termination over a cancellation token. AppBase may be provided with a CancellationTokenSource in the constructor, otherwise it will create one.
    • Added AppBase.AppLifetimeTokenSource to control the application lifetime.
  • Extensions.Configuration

    • OptionsSettingsProviderBase.GetSettings returns null if the options service is not registered.
  • Core

    • Added support for permissions in core. Identify the permissions when they implement IPermission (for the RuntimePermissionTypeInfo).
    • Added IPermission marker interface for permissions.
    • Added AppAdmin and System permissions.
    • Added IPermissionInfo interface, RuntimePermissionInfo implementation, and AuthorizationTypeInfoFactory for PermissionInfo registration.
    • Added IToken(TokenName: string) to be implemented by permission metadata (and not only).
    • Breaking change: Removed the permission strings from the RequiresPermissionAttribute and GrantsPermissionAttribute.
  • Data

    • Added the following data permissions: create, read, update, delete, query, use.
  • Model

    • Added PermissionsModelRegistry. Added tests for WorkflowModelRegistry and PermissionsModelRegistry.
    • Made PermissionTypeAttribute and PermissionType implement IToken.
    • Identifies the permissions defined with the PermissionInfoAttribute and adds them to model.
  • Core.Endpoints
    Requires AppAdmin permission for the following endpoints: SetLogLevel, UpdateSettings.

  • Plugins.Endpoints

    • Disable/EnablePlugin, Install/Uninstall/UpdatePlugin.