Ignore:
Timestamp:
13 Nov 2014, 14:40:27 (10 years ago)
Author:
Henrik Bettermann
Message:

Change of name.

Location:
main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/permissions.py

    r11947 r11949  
    2020from zope.interface import Interface
    2121from zope.securitypolicy.interfaces import IRole, IPrincipalRoleMap
    22 from waeup.kofa.interfaces import ILocalRolesAssignable
     22from waeup.ikoba.interfaces import ILocalRolesAssignable
    2323
    2424class Public(grok.Permission):
     
    185185
    186186def get_waeup_roles(also_local=False):
    187     """Get all Kofa roles.
    188 
    189     Kofa roles are ordinary roles whose id by convention starts with
     187    """Get all Ikoba roles.
     188
     189    Ikoba roles are ordinary roles whose id by convention starts with
    190190    a ``waeup.`` prefix.
    191191
    192192    If `also_local` is ``True`` (``False`` by default), also local
    193     roles are returned. Local Kofa roles are such whose id starts
     193    roles are returned. Local Ikoba roles are such whose id starts
    194194    with ``waeup.local.`` prefix (this is also a convention).
    195195
     
    198198    for name, item in get_all_roles():
    199199        if not name.startswith('waeup.'):
    200             # Ignore non-Kofa roles...
     200            # Ignore non-Ikoba roles...
    201201            continue
    202202        if not also_local and name.startswith('waeup.local.'):
     
    206206
    207207def get_waeup_role_names():
    208     """Get the ids of all Kofa roles.
    209 
    210     See :func:`get_waeup_roles` for what a 'KofaRole' is.
    211 
    212     This function returns a sorted list of Kofa role names.
     208    """Get the ids of all Ikoba roles.
     209
     210    See :func:`get_waeup_roles` for what a 'IkobaRole' is.
     211
     212    This function returns a sorted list of Ikoba role names.
    213213    """
    214214    return sorted([x.id for x in get_waeup_roles()])
Note: See TracChangeset for help on using the changeset viewer.