#657 Add HBAC fails
Closed: Fixed None Opened 13 years ago by admiyo.

Two problems

NAvigate to the HBAC list view and click add
Fill out fields. Switch radio button to Deny

First problem: Click on OK, and get an error. "invalid 'accessruletype': incorrect type"
Second prblem: click cancle. instead of going back to the add page, you go back to the lsit page, and lose all information.


The first problem seems to be happening only on F14. It might be related to other encoding issue on F14.

I'm unable to reproduce the second problem. There are 2 dialog boxes, the first one is the HBAC add dialog box, the second one is the JSON error dialog box. When the Cancel button on the second dialog box is clicked, it returns to the first dialog box, so the information is not lost. Let's try this again once we resolve the first problem.

this is what was passed in the JSON RPC.

{"method":"hbac_add","params":[["hbac-test"],{"accessruletype":"allow"}],"id":6}

Fixed problem #1 in master (00b3984) which was based on pzuna's patch (e5ccddf).

I'm not able to reproduce problem #2.

Fixed with edewata's patch. Second problem is not an issue anymore.

Metadata Update from @admiyo:
- Issue assigned to pzuna
- Issue set to the milestone: FreeIPA 2.0 - 2011/01 (cleanup)

7 years ago

Login to comment on this ticket.

Metadata