Commit Graph

204 Commits

Author SHA1 Message Date
Endi S. Dewata
9d0dc89b03 Renamed hbac to hbacrule.
All references to hbac in the UI have been replaced with hbacrule.
This is to match the hbacrule plugin. The test data and templates
have been renamed as well.
2011-01-11 21:33:40 -05:00
Endi S. Dewata
409b6efa5f Support for enabling/disabling table widget.
The table widget now can be enabled/disabled. When disabled, the
checkboxes and links/buttons are grayed out and non functional.

The radio buttons in HBAC and SUDO details page have been modified
to enable/disable the corresponding tables.
2011-01-11 21:33:35 -05:00
Endi S. Dewata
e79406a0f9 Fixed SUDO command category.
The radio buttons under the Run Commands section in the SUDO details
page have been changed from allow/deny/specified into all/specified,
and moved under the Allow commands subsection, matching the correct
usage of the cmdcategory attribute.
2011-01-11 21:33:29 -05:00
Adam Young
75078c0bd4 header style fix
minor tweak to the header and gradient for the header
2011-01-10 11:26:10 -05:00
Adam Young
c69f4d0fed center page
fixes issues from
 https://fedorahosted.org/freeipa/ticket/507
2011-01-10 09:26:32 -05:00
Adam Young
e903f43d48 action-panel adjustments
tweak the tabs padding
2011-01-10 13:01:37 -05:00
Endi S. Dewata
039039155f Fixed command category value. 2011-01-10 12:49:06 -05:00
Adam Young
340d0d685c remove permissions checkbox
self service defaults to write permission, the only acceptable one.
By removing the checkbox, we stop sending invalid permissions
2011-01-08 04:45:07 -05:00
Adam Young
f717d7d2e7 fix entity unit tests unit tests updated to accoount for the facet_group title 2011-01-08 04:45:00 -05:00
Adam Young
5c9c006af1 Validate add-dialog text fields 2011-01-08 04:44:51 -05:00
Adam Young
ecd2573e09 metatdata for facet_groups
THis patch updates the metadata with the changes for the facet groups names.  It is a large patch only in that the metadata is huge, but the change is trivial
2011-01-07 04:45:08 -05:00
Adam Young
b730eb356f facet nesting
correctly nest the facet groups
change 'parent' to 'member of' for facet group
2011-01-07 04:44:56 -05:00
Adam Young
728a1d8361 dns record style
THe client aread class is added after the create call.  THe logic assumes that there are two divs under the tabs.  THe records facet broke that assumption.  THis fixes it
2011-01-07 03:48:08 -05:00
Endi S. Dewata
02b209a74a Move undo button next to selected radio button. 2011-01-06 21:32:21 -05:00
Endi S. Dewata
4ffd6de823 Fixed tooltips in SUDO details page.
The title attribute in various HTML elements in SUDO details page
has been set to show the proper tooltips. Most of the values are
taken from the 'doc' attribute of sudorule parameters.
2011-01-06 13:25:36 -05:00
Adam Young
79c0b1e14b remove list header 2011-01-06 12:52:17 -05:00
Adam Young
3920b36b4a action panel style
make clickable links blue
change spacing to keep headers from wrapping
convert most px values to em, to support scaling
indent action controls and place them under the active facet
set default font size to 11px
2011-01-06 12:39:16 -05:00
Endi S. Dewata
e0cf3a8313 Use AJAX status text as default error message.
The ipa_cmd() error handler has been updated to use AJAX status
text as the default error message.
2011-01-05 15:33:56 -05:00
Pavel Zuna
6e5b540db2 Translate IA5Str paramaters the editable text fields in the webUI.
Fix #684
2011-01-05 15:31:47 -05:00
Adam Young
7474a2cf3f add missing files in rpm
Fonts, header images, and json.js
2011-01-05 14:54:18 -05:00
Adam Young
69de8b317a remove UID field
we are only doing global policy on the krbtpolicy page
2011-01-05 13:31:21 -05:00
Pavel Zuna
bd44006911 Make it impossible to add an object as a member of itself in webUI.
Ticket #700
2011-01-05 13:21:00 -05:00
Adam Young
e66e29be7d fix krbtpolicy update
krbtpolicy requires null pkey, and without it, update breaks.
2011-01-05 13:18:29 -05:00
Endi S. Dewata
b0bca88663 Support for external SUDO users and hosts.
The SUDO details page has been modified to support external users
and hosts. In the backend, the internal and external users are kept
in separate attributes, but in the UI they will be displayed as a
single list. The same thing is done for hosts.

The ipa_sudorule_association_adder_dialog() has been modified such
that it only displays the external field if there is an external
attribute for that field.
2011-01-05 12:53:59 -05:00
Endi S. Dewata
ef2f6b2b59 SUDO run-as adjustments.
The SUDO details page has been modified to match the attribute
names for run-as attributes.
2011-01-05 12:53:53 -05:00
Endi Sukma Dewata
3650df27d5 Fixed SUDO dialog boxes.
The dialog boxes for SUDO details page have been modified
to generate the HTML code by default.
2011-01-05 11:33:35 -05:00
Adam Young
553e08afa6 posix checked check box for posix groups selected by default 2011-01-05 10:39:45 -05:00
Adam Young
0fc1d260c0 metadata update 2011-01-05 10:27:45 -05:00
Adam Young
3390319f4c user associations
user assocaitions had been removed.  This adds them back in.
2011-01-04 22:58:27 -05:00
Pavel Zuna
2f2c67cb59 Improvements to enrollments in the webUI.
TAKE 1

- Enrollement links in the action panel are now sorted by relationships.
- You can only enroll members.
  (The webUI made the impression you can enroll parents as well, but it was
   broken.)
- When enrolling new members, you can choose not to display already enrolled
  ones. (On by default.)
- Couple cosmetic changes.
2011-01-04 21:56:38 -05:00
Pavel Zuna
3ded0826cf Disable action panel links when the selected entry is deleted.
Fix #685
2011-01-03 14:33:59 -05:00
Adam Young
c2a2433657 fail clean add and edit
Don't close the dialog if the add fails and the user clickes
add and edit
fixes. https://fedorahosted.org/freeipa/ticket/663
2011-01-03 11:42:39 -05:00
Adam Young
e0c95e235c Remove description field from config
This field does not exist

https://fedorahosted.org/freeipa/ticket/677
2010-12-23 14:57:59 -05:00
Adam Young
247e2a263b fix reset passwrod
The way we store the user object returned from user-find --whoami changed, and this code was not updated
2010-12-23 14:12:33 -05:00
Adam Young
eb6f215246 hide autommount
since automount is not yet implemented, remove it from the menu
2010-12-23 09:57:58 -05:00
Adam Young
82b03ddfc1 hidden filter
The filter field on aci add is hidden, and prefilled with an object class that doesn't exist.

Fixed the error where the other fields were removed
2010-12-22 12:48:26 -05:00
Rob Crittenden
d84ffd9e54 Move permissions and privileges to their own container, cn=pbac,$SUFFIX
ticket 638
2010-12-22 11:26:49 -05:00
Adam Young
2cb53ec8d0 populate the group select upon initial creation
Fixes the delegation add dialog
2010-12-21 13:37:23 -05:00
Adam Young
023f92f517 additions to patch 118 2010-12-20 23:32:06 -05:00
Adam Young
07ace112af aci ui
Implements the role, privilege, permission, delegation and selfservice entities ui.

Targetgroup has been added to the object types.
The groups lists need to be filter.  The filter is currently hidden, with a
hyperlink that reads 'filter' to unhide it.  Each keystroke in this filter
performs an AJAX request to the server.

There are bugs on the server side that block some of the functionality from
completing

Creating a Permission requires one of 4 target types. The add dialog in this
version assumes the user will want to create a filter type. They can change
this on the edit page.

Most search results come back with the values as arrays, but ACIs seem not to.
Search and details both required special code to handle non-arrays.

The unit tests now make use of the 'module' aspect of QUnit.  This means that
future unit test will also need to specify the module.  The advantage is that
multiple tests can share a common setup and teardown.

Bugs that need to be fixed before this works 100% are
https://fedorahosted.org/freeipa/ticket/634
https://fedorahosted.org/freeipa/ticket/633
2010-12-20 23:32:06 -05:00
Adam Young
fc4ce7dc8c cusor pointer for undo link 2010-12-20 22:58:16 -05:00
Jakub Hrozek
7493d781df Change FreeIPA license to GPLv3+
The changes include:
 * Change license blobs in source files to mention GPLv3+ not GPLv2 only
 * Add GPLv3+ license text
 * Package COPYING not LICENSE as the license blobs (even the old ones)
   mention COPYING specifically, it is also more common, I think

 https://fedorahosted.org/freeipa/ticket/239
2010-12-20 17:19:53 -05:00
Adam Young
67d1c07112 kinit typo
Was origially KInit  but the command is kinit
2010-12-17 16:36:48 -05:00
Adam Young
00ebf8c4e3 error link
Change the link in the error message to the one that will actually fix the problem
2010-12-17 16:27:11 -05:00
Endi S. Dewata
cec6703da3 Account activation adjustment
The user details facet has been modified such that when the account
is activated/deactivated the page will be reloaded.

Some methods in the framework have been changed:
 - The ipa_widget.clear() has been removed because it can be replaced
   by existing reset().
 - The ipa_widget.set_values() has been renamed into update().
2010-12-14 16:45:41 -05:00
Kyle Baker
fea4d3880a button and table styling
replaced expand contract +- with icons
removed background for action buttons and gave them their own class
Major css cleanup
2010-12-10 10:17:34 -05:00
Endi S. Dewata
0938fb70ee Section header prefix update
The '+' and '-' signs before the section headers in details facet
are now enclosed in square brackets. The section content is now
hidden/shown using slideToggle().

The ipa_details_create() and ipa_details_setup() have been moved
into ipa_details_facet.
2010-12-09 15:54:01 -05:00
Endi S. Dewata
db822955c2 SUDO adjustments
The SUDO rule details facet has been updated to support the latest UI
spec. The facet consists of 5 sections: general, users, hosts, commands,
and run-as.

The general section contains the SUDO rule description and status. If
the status is changed, the sudorule-enable/disable will be invoked.

The other sections contain radio buttons for the association category
and tables for the members. When a member is added or removed, the
category will be adjusted appropriately. If the category is changed to
'all', 'allow', or 'deny', all members will be removed.

The last section is currently not working because backend support is
not yet available.

The adder dialog boxes for users, groups, and hosts has been modified
to accept external identities. The layout for the base adder dialog
was updated. The base dialog class was updated to support templates.
The SUDO dialog boxes were implemented using templates. New CSS
classes were added to ipa.css.

The HBAC rule details facet has been updated as well.
2010-12-09 15:51:06 -05:00
Adam Young
6a5b308c9b remove URL from error messages.
URL was always ipa/json. This means nothing to the end user.
2010-12-08 16:41:31 -05:00
Endi S. Dewata
deb94b150d Navigation updates
The entity.default_facet has been removed, instead the first facet
registered to the entity will be considered as the default facet.
So, the 'setup' parameter has been removed from tab definitions
because it's no longer necessary. The ipa_details_only_setup() has
been removed as well.

An 'entity' parameter has been added to tab definitions to specify
which entity corresponds to a tab item. The tab label has been
changed to use entity label if available.

Some hard-coded labels have been removed. The unit tests have been
updated.
2010-12-07 17:54:04 -05:00