Explicitly filter options that permission-{add,mod} passes to aci-{add,mod}

Make permission commands not pass options that the underlying ACI commands
do not understand.

Update tests.

Remove some extraneous imports of the `copy` module.

https://fedorahosted.org/freeipa/ticket/2885
This commit is contained in:
Petr Viktorin
2012-07-02 08:31:03 +02:00
committed by Martin Kosek
parent 50ebd1a339
commit 03f247ec86
5 changed files with 19 additions and 15 deletions
-2
View File
@@ -17,8 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import copy
from ipalib import api, _, ngettext
from ipalib import Flag, Str
from ipalib.request import context