This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project Sharing + AccountCreation plugin
Summary: - Rebased to master as of 7/10/2017 - Create a method for creating accounts via 'mappers' like Grouper, LDAP, and Xsede - Feature flag the LDAP Group Mapper to only run when ENABLE_PROJECT_SHARING is True - Remove 'created_by__username' calls for 'is user in list of shared' for each resource (Instance, Volume) - Modify ./configure to show 'unexpected errors' and the files that created them. - Auto-Create a project that corresponds to the project name for the cloud provider. - Update identity.key to be more verbose - Include membership_query in 'shared_with_user' for Applications, Volumes, Instances, Identities. - Include 'created_by' field in Project to make it easier to determine the original author - Include the author as an implicit leader - Add 'user' to summary-serializer for instances/volumes (as seen from projects), update leadership query and permissions to be less restrictive - Validate ownership changes do not happen in projects with shared cloud resources, prior to update. - Create a 'Feature Flag' -- ENABLE_PROJECT_SHARING. Disable permissions check when False. - Bugfix: ProviderSummarySerializer was returning null for some results. 'owner' not a required API attribute for projects (When the feature-flag is disabled) - Rename AccountCreation, Refactor scripts/add_new_accounts - Move to AccountCreationPluginManager - Problem: Instance and Volume should not be M2MField Solution: Make 'project' a ForeignKey of instance, volume to establish a many-to-one relationship with projects. - Refactor the project_instance and project_volume API endpoints to mask this for the time being. - Remove all instances of ProjectInstance, ProjectVolume - Introduce ProjectMemberRequired, simplify ProjectLeaderRequired to subclass ProjectMemberRequired - Include queryset filter for Identity and groups (required for Troposphere UI) - Optimization: Verify identity prior to initializing account driver to save time - Support for administration of Groups via API - Add all identities available when creating/updating a group. (Simplification) - Update APIs to have strict permissions on Create/Update. Merged into upstream early: - New monitoring methods for quick bootstrapping of databases. - Bugfixes required to provide Bootable Volume support Outside scope of PR but had to be done: - Remove 'usage per identity' from the v2 serializer. - Update 'usage per instance' (This is _WRONG_ and will be fixed in a separate PR) - Remove references to 'old' allocation in the APIs. - Re-add 'usage' to avoid failure - Allow project to be updated on volume serializer - Fix the 'add accounts' logic so that all public providers will be created, even if user already has an identity on some providers. - Small bugfixes to avoid failure during the creation of new provider && the monitoring of cloud resources Conflicts: api/v2/serializers/details/instance.py api/v2/views/instance.py api/v2/views/project.py atmosphere/settings/local.py.j2 core/plugins.py scripts/add_new_accounts.py service/accounts/openstack_manager.py
- Loading branch information
1 parent
106a5df
commit 6fada56
Showing
93 changed files
with
1,903 additions
and
620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.