Issue #1 resolved

Roles not being discovered for command update rolls

Anonymous avatarAnonymous created an issue


    #fso apps
    #third party apps, modules, etc


INSTALLED_APPS = INSTALLED_APPS + ['project.barcode']


from django.conf.urls.defaults import *
from piston.resource import Resource

from import *

# Uncomment the next two lines to enable the admin:
from django.contrib import admin

from extauth import roles

campuses = Resource(handler=CampusHandler)
buildings = Resource(handler=BuildingHandler)
rooms = Resource(handler=RoomHandler)

urlpatterns = patterns('',
    url(r'^accounts/login/$', 'libfso.contrib.shibboleth.views.login', name = "titan-login"),
    url(r'^accounts/logout/$', 'libfso.contrib.shibboleth.views.logout', name = "titan-logout"),
    # Uncomment the admin/doc line below to enable admin documentation:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(,

    # campus, building, room api
    (r'^api/locus/', include('')),

    (r'', include('project.barcode.urls'))


from extauth import roles
from project.barcode.models import AssetScan

class AssetScanRoles(roles.RoleManager):

roles.register(AssetScan, AssetScanRoles)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.