Bug 782840 - [ipa webui] Permissions do not allow Read to be set as a permission
Summary: [ipa webui] Permissions do not allow Read to be set as a permission
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 16:33 UTC by Namita Soman
Modified: 2012-01-25 14:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-25 14:23:01 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Namita Soman 2012-01-18 16:33:41 UTC
Description of problem:
cli can be used to add a permission:
ipa permission-add ManageUser1 --permissions="read" --type=user --attr=carlicense

But WebUI cannot be used to set a similar permission, where the permission is Read. Allowed permissions in UI are: Write, Add, Delete

Help does indicate:
Read permission is granted for most attributes by default so the read 
permission is not expected to be used very often. 


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120117T0229zgit5febffb.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Add a permission

  
Actual results:
Read is not a permission that can be selected


Expected results:
Read to be listed as a permission that can be selected

Additional info:

Comment 2 Rob Crittenden 2012-01-18 17:32:58 UTC
This was a conscious decision.

I added read as a permission type for completeness since it is a possible type in a 389-ds aci. Because we don't provide a facility to create "deny" rules and most attributes are already readable.

The decision was to remove read from the list in the UI and leave it in the list on the cli.

I propose closing as not a bug.

Comment 3 Dmitri Pal 2012-01-18 17:59:54 UTC
I agree with Rob.

Comment 4 Dmitri Pal 2012-01-18 19:46:36 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1787


Note You need to log in before you can comment on or make changes to this bug.