Wayne Witzel III
5306eaa98c
more access tests and a Makefile driveby
2016-02-16 21:04:33 -05:00
Wayne Witzel III
40ec6a2da2
Fix rbac cred tests
2016-02-16 10:59:53 -05:00
Wayne Witzel III
017a7ee060
Updating RBAC migrations
2016-02-16 08:53:35 -05:00
Wayne Witzel III
7260c1cc0e
Added credential access tests
2016-02-15 16:32:42 -05:00
Akita Noek
e1c1904218
Merge pull request #964 from anoek/rbac
...
Merge devel
2016-02-15 13:41:23 -05:00
Akita Noek
d5c41d02ea
Merge branch 'devel' into merge-devel
2016-02-15 13:38:01 -05:00
Akita Noek
380ba8a41d
Merge pull request #962 from anoek/rbac
...
"Completion" of RBAC migrations; resource_field elimination
2016-02-15 13:36:31 -05:00
Akita Noek
aafe521986
doc: ImplicitRoleField after the elimination of resource_field
...
Completes #926
2016-02-15 12:55:51 -05:00
Akita Noek
e2a428b9f5
Removed resource_field ImplicitRoleField
...
We just now assume that this field is always named 'resource'
Completes functionality of #926 , documentation next
2016-02-15 12:38:17 -05:00
Leigh
f7ec61f452
Merge pull request #959 from leigh-johnson/ModalBackdrop
...
#875 add backdrop: static to modal.Constructor.DEFAULTS
2016-02-15 12:17:18 -05:00
Akita Noek
c77620f1ae
Added support in ImplicitRoleField to handle following reverse m2m maps
2016-02-15 11:49:54 -05:00
Akita Noek
243b78ee25
Job template migration and migration tests
2016-02-15 11:48:17 -05:00
Michael Abashian
5e3e8862f3
Merge pull request #960 from mabashian/stream-awfeature
...
Hide Activity Stream button when the feature is turned off
2016-02-15 11:08:37 -05:00
Michael Abashian
f2f9dc4703
Removed jshint comment
2016-02-15 11:04:38 -05:00
Akita Noek
e0371f3745
Switched back to multiple-organizations for Projects
2016-02-15 10:43:50 -05:00
Michael Abashian
e5f6373617
Added ProcessErrors declaration
2016-02-15 10:29:54 -05:00
Michael Abashian
5f7de996bd
Added logic to hide activity stream button when the feature is turned off. Also added logic to redirect the user to the dashboard when they try to navigate to the stream when the feature is not on.
2016-02-15 10:21:17 -05:00
Leigh Johnson
6bc99971b6
#875 add backdrop: static to modal.Constructor.DEFAULTS
2016-02-15 09:08:19 -05:00
Wayne Witzel III
61679a47ac
Update rbac.md
2016-02-12 11:42:00 -05:00
Wayne Witzel III
b44944c8e3
Merge pull request #927 from anoek/rbac
...
Docs: Added RBAC basic concepts section
2016-02-12 11:13:15 -05:00
Akita Noek
409c7baa33
doc: Removing .svg for our example image
...
Apparently .svg's don't work in github markdown
2016-02-12 11:08:08 -05:00
Akita Noek
0ef004171d
doc: Try PNG for github markdown instead of SVG
2016-02-12 11:07:31 -05:00
Akita Noek
a4c435c14e
doc: Added an example RBAC picture
2016-02-12 11:02:12 -05:00
Akita Noek
76c2454936
Docs: Added RBAC basic concepts section
2016-02-12 10:44:53 -05:00
Akita Noek
ec3f184737
Merge pull request #922 from anoek/rbac
...
RBAC refactoring and first pass at ORMification
2016-02-12 10:19:30 -05:00
Wayne Witzel III
104851e9a5
Update rbac.md
...
Remove resource_field
2016-02-12 10:18:12 -05:00
Wayne Witzel III
91c21c6c5b
Update rbac.md
...
More documentation changes.
2016-02-12 10:17:15 -05:00
Akita Noek
319252f555
Finish removing our raw SQL implemenations from our mixins
...
Boiled out our current-best ORM implemenations. These can likely be
optimized further, but are adequate for the time being.
2016-02-12 10:16:29 -05:00
Wayne Witzel III
10e73ebc2e
Update rbac.md
...
Updated Role model docs
2016-02-12 09:41:30 -05:00
Michael Abashian
1bcc3b9269
Merge pull request #921 from mabashian/add-stream-inv-manage
...
Turned on the activity stream for inventory manage
2016-02-12 09:15:10 -05:00
Jared Tabor
7509fdf751
Password element styling
2016-02-11 23:35:44 -08:00
Jared Tabor
3503ec9deb
Styling of genMD5 input field on JT form page
...
uses same styling as the lookup button
2016-02-11 22:47:48 -08:00
Jared Tabor
b0d5403d41
changing color of dropdown arrow for select2
...
for whenever the dropdown menu is open
2016-02-11 22:41:23 -08:00
Jared Tabor
3fbbd4f234
Changing textarea input color
...
For textarea elements that don't get CodeMirror attached.
2016-02-11 22:31:20 -08:00
Jared Tabor
9fa6d74efc
Formatting job template-job tag element
...
Accomplished by adding the regular text input styling. This field is a 1 line textarea so adding the Form-textInput class gives it all the styling it needs.
2016-02-11 22:10:55 -08:00
Jared Tabor
44bf4e1ac4
Changing CodeMirror font back to monospace
...
previously I had set it to Open Sans to match the rest of Tower.
2016-02-11 22:07:19 -08:00
Jared Tabor
cbfe382bb3
Merge pull request #924 from jaredevantabor/number-input-styling
...
Number input styling
2016-02-11 21:36:49 -08:00
Chris Church
ce5989ba31
Update browsable API styling based on UI feedback.
2016-02-12 00:07:15 -05:00
Chris Church
f68329bd58
Merge pull request #885 from cchurch/more-serializer-fixes
...
More DRF 3.3 Serializer Fixes
2016-02-11 23:15:17 -05:00
Jared Tabor
8e45862439
Number input styling
2016-02-11 17:20:03 -08:00
Chris Church
dc298daeb4
Update settings serializer to allow empty/blank values.
2016-02-11 18:11:41 -05:00
Chris Church
a8fec62095
Flake8 fix.
2016-02-11 18:11:41 -05:00
Chris Church
1f290ed940
Add custom serializer char/bool fields to accept null and coerce to appropriate type. Update validation for unique constraints so that error messages remain the same as before. Update key used in error response for non-field errors. Should address #791 , #794 , #809 , #812 and #816 .
2016-02-11 18:11:41 -05:00
Akita Noek
72419f7eb9
Generically handle automatic role rebinding through m2m relations
2016-02-11 16:59:32 -05:00
Akita Noek
9a3ef6b998
ORMified RBAC classes; Added GenericForeignKey backref for convenience
...
The RoleHierarchy table has been eliminated in favor of just using
a ManyToMany map, which is what we should have been using all along.
ORMifications still need improvement, in particular filtering on
ResourceMixin.accessible_by should reduce permission calculation
overhead, but with the current implemenation this is not true.
ResourceMixin.get_permission performs adequately but not as good
as it can yet.
2016-02-11 16:18:44 -05:00
Akita Noek
ac7d50048c
Removing unused resource_parent
...
Forgot to remove these bits when we removed the concept a few commits
ago
2016-02-11 16:18:44 -05:00
Michael Abashian
2079ddc36a
Turned on the activity stream for inventory manage. Refactored the ModalToPlural function so that it returns the key that the getBasePath() function expects for that model.
2016-02-11 15:54:17 -05:00
jlmitch5
7f300e3c9e
Merge pull request #910 from jlmitch5/styleFormDetailPane
...
Styling of scheduler form detail pane
2016-02-11 14:05:29 -05:00
Michael Abashian
5f0650580f
Merge pull request #914 from mabashian/style-stream-dropdown
...
Applied select2 to the activity stream dropdown nav
2016-02-11 13:52:46 -05:00
Michael Abashian
bf74cbc993
Applied select2 to the activity stream dropdown nav. Went ahead and moved the dropdown nav template into a partial rather than having it inline.
2016-02-11 13:39:51 -05:00