[katello-devel] Unifying API and UI controllers protection

Bryan Kearney bkearney at redhat.com
Thu Jul 14 17:22:16 UTC 2011


On 07/13/2011 03:58 AM, Lukas Zapletal wrote:
> Bryan,
>
> was thinking about our unification thing. Maybe we could take
> conventions over configuration approach. I mean if we keep controller
> names the same in both API and UI (I think we should be fine now) there
> is no need of additional layer. Since resources are RESTy action names
> should not be a problem too.
>
> Let's wait until first UI resources are protected and then we can turn
> API protection on to see if it works. It should and if not small
> refactoring and/or few action name aliases would do the work for us.
>
> LZ
>
Seems like a fair approach. My main goal is to minimize the following verbs:

Modify_Foo
Modify_Foo_GUI or Modify_Foo_API

-- bk




More information about the katello-devel mailing list