freeipa/install/ui
Petr Vobornik 14ac2193fe Add and remove dns per-domain permission in Web UI
This patch adds support for new per-domain permissions to Web UI.

User with assigned permission (through role,priviledge) can edit DNS zone. These permissions can be added/remove by ipa dnszone-{add/remove}permission $dnszone command.

For adding/removing of this permission in Web UI new actions in DNS zone action list were created. DNS zone object doesn't contain information about existance of related permission. Such information is required for enabling/disabling of new actions. Web UI has to search for the permission to get it. DNS zone facet was modified to use batch command, in a same way as user facet, for loading dnszone and the permission at the same time - on load.

Batch command has a feature to report all errors. Such behavior is unwanted because we expect that permission-show command will fail when the permission doesn't exist. Batch command was therefore modified to not report commands which has retry attribute set to false. This attr was chosen because it has similar purpose in single command execution.

New actions should be enabled only for users with appropriate rights. It is not possible to obtain rights for certain action in advance so an approximation is used: write right for dns zones' managedby attribute.

https://fedorahosted.org/freeipa/ticket/2851
2012-07-11 16:33:10 +02:00
..
ext Fixed rpm build warning - extension.js listed twice 2012-03-19 18:38:46 +01:00
images Added facet tabs coloring 2011-12-14 15:44:36 +00:00
test Add and remove dns per-domain permission in Web UI 2012-07-11 16:33:10 +02:00
aci.js Removal of illegal options in JSON-RPC calls 2012-06-04 11:26:28 +02:00
add.js Same password validator 2012-06-26 12:32:50 +02:00
association.js Refactored associatin facet to use facet buttons with actions 2012-06-29 11:56:04 +02:00
automember.js Removal of illegal options in JSON-RPC calls 2012-06-04 11:26:28 +02:00
automount.js Removal of illegal options in JSON-RPC calls 2012-06-04 11:26:28 +02:00
browser.js Added cross browser support of Array.indexOf method 2011-12-02 18:35:59 +00:00
certificate.js Action panel for certificates 2012-06-27 08:58:24 +02:00
details.js Add and remove dns per-domain permission in Web UI 2012-07-11 16:33:10 +02:00
develop.js Removed develop.js. 2011-11-14 16:47:10 -05:00
dialog.js Trust Web UI 2012-06-25 18:17:06 +02:00
dns.js Add and remove dns per-domain permission in Web UI 2012-07-11 16:33:10 +02:00
entitle.js Refactored facet.load(). 2011-12-06 22:08:07 +00:00
entity.js Inter-facet expiration 2012-03-29 13:39:53 +02:00
facet.js Refactored associatin facet to use facet buttons with actions 2012-06-29 11:56:04 +02:00
favicon.ico favicon 2011-02-03 15:04:23 -05:00
field.js Password policy measurement units. 2012-07-10 13:30:38 +02:00
group.js Fixed evaluating checkbox dirty status 2012-03-15 16:08:02 +01:00
hbac.js Refactored entities to use changed actions concept 2012-06-04 10:45:07 +02:00
hbactest.js Show_content on refresh success 2012-03-19 18:37:39 +01:00
host.js Continuation of removing of not supported command options from Web UI 2012-06-29 11:56:29 +02:00
hostgroup.js Fixed entity metadata resolution. 2011-12-06 22:07:52 +00:00
index.html Display loginas information only after login 2012-07-10 13:30:01 +02:00
ipa.css Display loginas information only after login 2012-07-10 13:30:01 +02:00
ipa.js Add and remove dns per-domain permission in Web UI 2012-07-11 16:33:10 +02:00
jquery-ui.css Fixed inconsistent image names. 2011-10-27 14:05:12 +00:00
jquery-ui.js rename static to ui 2011-01-20 14:12:47 +00:00
jquery.ba-bbq.js rename static to ui 2011-01-20 14:12:47 +00:00
jquery.js Upgrade to jquery 1.5.2 https://fedorahosted.org/freeipa/ticket/768 2011-04-23 03:25:45 +00:00
jquery.ordered-map.js Trust Web UI 2012-06-25 18:17:06 +02:00
jsl.conf Trust Web UI 2012-06-25 18:17:06 +02:00
json2.js rename static to ui 2011-01-20 14:12:47 +00:00
login.html Separate reset password page 2012-06-21 12:46:59 +02:00
login.js User is notified that password needs to be reset in forms-based login 2012-04-16 21:53:56 -04:00
logout.html Added logout button 2012-02-28 23:58:51 -05:00
Makefile.am Trust Web UI 2012-06-25 18:17:06 +02:00
navigation.js Content is no more overwritten by error message 2012-03-19 18:37:19 +01:00
net.js Added IP address validator to Host and DNS record adder dialog 2012-01-11 00:48:44 -06:00
netgroup.js Added links to netgroup member tables 2012-06-04 11:26:34 +02:00
overpass_bold-web.eot Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.svg Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.ttf Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_bold-web.woff Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.eot Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.svg Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.ttf Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
overpass_regular-web.woff Search bar style and positioning changes 2011-06-14 21:17:13 +00:00
policy.js Web UI: kerberos ticket policy measurement units 2012-07-10 13:30:43 +02:00
reset_password.html Separate reset password page 2012-06-21 12:46:59 +02:00
reset_password.js Separate reset password page 2012-06-21 12:46:59 +02:00
rule.js Continuation of removing of not supported command options from Web UI 2012-06-29 11:56:29 +02:00
search.js Refactored action list and control buttons to use shared list of actions 2012-06-04 10:45:07 +02:00
selinux.js Refactored entities to use changed actions concept 2012-06-04 10:45:07 +02:00
serverconfig.js Update of serverconfig ipaconfigstring options 2012-06-06 22:14:12 -04:00
service.js Action panel for certificates 2012-06-27 08:58:24 +02:00
sudo.js Refactored entities to use changed actions concept 2012-06-04 10:45:07 +02:00
trust.js Trust Web UI 2012-06-25 18:17:06 +02:00
user.js Web UI: kerberos ticket policy measurement units 2012-07-10 13:30:43 +02:00
webui.js Indirect roles in WebUI 2012-07-11 08:54:45 +02:00
widget.js Password policy measurement units. 2012-07-10 13:30:38 +02:00