Wayne Witzel III
87ffded774
renaming Credential.owner_role -> Credential.admin_role
2016-06-24 16:55:07 -04:00
Akita Noek
feaaac94a2
Merge pull request #2603 from anoek/2579
...
Removed roles per inventory group
2016-06-24 09:23:06 -04:00
Akita Noek
ee8215dc52
Removed InventoryGroup roles
2016-06-23 11:01:22 -04:00
Chris Meyers
b53f753e0f
Merge pull request #2587 from chrismeyersfsu/enhancement-dont_drop_mongo
...
do not drop mongo after migration
2016-06-22 16:30:12 -04:00
Chris Meyers
fd4875818f
do not drop mongo after migration
2016-06-22 16:06:47 -04:00
Wayne Witzel III
2535b1fb7c
Fix migration hierarchy updating
2016-06-22 09:58:15 -04:00
Wayne Witzel III
868b6b7e36
add migration for read_role parents of credential
2016-06-21 14:44:04 -04:00
Wayne Witzel III
4799b27108
ensure organization is empty when generating a new credential
2016-06-21 13:07:58 -04:00
Wayne Witzel III
14d67d560e
add Credential migration for unique_together
2016-06-21 11:35:51 -04:00
Wayne Witzel III
14809c086d
added some assertions to catch cycles, updated migration
2016-06-16 15:24:07 -04:00
Wayne Witzel III
791589dab8
Fixing Team and Credential access issues
2016-06-16 15:23:50 -04:00
Matthew Jones
9b49ff15bd
Mass rename foreman -> satellite6
...
For end-user facing elements. We still maintain foreman for some
underlying logic needed by the modules
2016-06-15 11:16:15 -04:00
Wayne Witzel III
e243c8319d
fix tests with refreshes
2016-06-10 13:41:22 -04:00
Wayne Witzel III
5754b4bb2c
adjusting Credential model and migrations
2016-06-10 13:23:32 -04:00
Matthew Jones
0591647333
Implement a flag that allows simulteanous job launches on job templates
2016-06-02 15:04:51 -04:00
Akita Noek
c15db1eef6
Fixed up multi-org project migrations
2016-06-02 13:34:10 -04:00
Akita Noek
19dcc06c9d
Read permissions goes to read_role, not use_role
...
Dork.
2016-05-24 21:10:43 -04:00
Akita Noek
81f093b1c0
Opt to rebuild all roles in helper method
...
This code was fine for the 0009 migrations since we introduced all roles
at once, however with changes in 0017 we can't just patch from the
roots, so this works generically without having to get fancy about
identifying which roles we need to actually update.
2016-05-24 12:46:43 -04:00
Akita Noek
8aa4df1b78
Fix job template migrations again
...
Eliminated some incorrect wtf filtering in permissions, and fixed up the
credential access checks.
2016-05-24 12:45:22 -04:00
Akita Noek
5dbce56beb
When migrating, grant read_role instead of use_role appropriately
...
Only give read access to folks that didn't have explicit permissions to
use a project in a job template before.
2016-05-24 12:42:51 -04:00
Akita Noek
5eb67411a4
Rebuild role hierarchy after making changes in migrations
...
Signals don't fire in migrations, so gotta do this step manually
2016-05-24 12:38:25 -04:00
Akita Noek
fd9c96aa80
Executed the inventory execute_role
...
Replaced with the 'use_role', which is now useful.
Completes #1959
2016-05-20 14:10:29 -04:00
Akita Noek
e8a3e7456d
Merge pull request #1944 from wwitzel3/issue-1910
...
Fix access to JT for admin and superuser
2016-05-19 09:17:29 -04:00
Wayne Witzel III
2e4c26a77f
remove the ORing of local roles, check against organization roles
2016-05-17 13:56:11 -04:00
AlanCoding
a7fed53efc
implement a default ordering for ActivityStream
2016-05-17 11:24:13 -04:00
Wayne Witzel III
6a6194cc43
update migrations for RBAC
2016-05-13 11:59:12 -04:00
Akita Noek
6d871afd4a
Merge pull request #1904 from anoek/migration-fixes
...
Job template migration fixes
2016-05-12 16:33:24 -04:00
Akita Noek
9d46a39e42
Added comment context to caught exception
2016-05-12 16:31:32 -04:00
Chris Meyers
fbca7e70f1
optimize transformation
2016-05-12 14:16:39 -04:00
Akita Noek
27457239bc
Fixed up job template migrations
...
Massive speed improvement as well as made it not wrong (or at least less wrong).
2016-05-12 13:43:36 -04:00
Akita Noek
4378430c4f
Minor migration speed improvement for old access queries
2016-05-12 13:43:36 -04:00
Akita Noek
be8a1f4859
Another orgfunc migration fix
2016-05-12 13:43:36 -04:00
Matthew Jones
c6eedce3d8
Further purging of cleanup_deleted
2016-05-11 15:07:56 -04:00
Matthew Jones
7a611cdb8a
Fix an issue with the related through tables on notifications
2016-05-09 12:44:54 -04:00
Matthew Jones
32720b2cc4
Add Schedule to the system job migration
2016-05-05 16:06:26 -04:00
Matthew Jones
6cece17024
Purge cleanup_deleted tasks as they aren't needed
...
This also adds a periodic static task to cleanup auth tokens
2016-05-05 16:04:36 -04:00
Matthew Jones
3c90ecba0b
Fix up notifications active field removal
2016-05-05 15:27:57 -04:00
Matthew Jones
5895b3a343
Refactor Notification's naming
...
Notifier -> NotificationTemplate
notifier -> notification_template
2016-05-05 13:53:46 -04:00
AlanCoding
2d230919f0
reorganizing migration numbering
2016-05-03 16:41:43 -04:00
Akita Noek
4c0f4363be
Merge pull request #1794 from anoek/migration-fixes
...
Fixed JobTemplate migration when inventory is NULL
2016-05-03 16:25:49 -04:00
Akita Noek
83a30f57f5
Fixed JobTemplate migration when inventory is NULL
...
JobTemplate.inventory can be NULL if the inventory was deleted.
2016-05-03 15:56:02 -04:00
Matthew Jones
eb714ce67f
Merge pull request #1777 from matburt/ad_hoc_extra_vars
...
Implement extra vars on ad-hoc commands
2016-05-03 14:35:19 -04:00
Wayne Witzel III
5291420a17
Merge pull request #1771 from wwitzel3/issue-1608
...
Implement ActivityStream for RBAC Roles
2016-05-03 14:30:50 -04:00
Matthew Jones
db541b4e5e
Add ad-hoc extra vars migration
2016-05-03 14:04:59 -04:00
Wayne Witzel III
453a0aaff2
Implement ActivityStream for RBAC Roles
2016-05-03 10:16:04 -04:00
Akita Noek
c7f2568c10
Fixed up some credential migration issues
2016-05-02 14:44:15 -04:00
Akita Noek
83e83a5db3
Actually do job template migrations
...
Seems important
2016-05-02 11:16:15 -04:00
Akita Noek
58e9c4ef87
Fixed JT migration issue
...
Role.__contains__ is not defined here, so we needed to drop in the
implementation instead.
2016-05-02 11:14:31 -04:00
Akita Noek
8a5e22cb4a
Fix old_access user/team reference
2016-05-02 10:14:29 -04:00
Akita Noek
1bf4fdbff1
Fixed up the _old_access.py UserAccess queryset
2016-04-29 16:57:51 -04:00