Files @ 157231a4fcb7
Branch filter:

Location: kallithea/rhodecode/lib/dbmigrate/schema/__init__.py

Marcin Kuzminski
move permission check of write access to repo groups inside a form.
- it's runned via create/edit/fork forms
- in case we have disabled repo creation, it will check root location write access for people that are not super admins, or have explicity create repo permission
- in case there's a group value passed to form, it checks just admin or write access
# -*- coding: utf-8 -*-
"""
    rhodecode.lib.dbmigrate.schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Schemas for migrations


    :created_on: Nov 1, 2011
    :author: marcink
    :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
    :license: <name>, see LICENSE_FILE for more details.
"""