def get_collection_rights(collection_id, strict=True):
 model = collection_models.CollectionRightsModel.get(collection_id, strict=strict)
 if (model is None):
  return None
 return _get_activity_rights_from_model(model, feconf.ACTIVITY_TYPE_COLLECTION)

def get_collection_rights ( collection_id , strict = True ) : model = collection_models . CollectionRightsModel . get ( collection_id , strict = strict ) if ( model is None ) : return None return _get_activity_rights_from_model ( model , feconf . ACTIVITY_TYPE_COLLECTION )
retrieves the rights for this collection from the datastore .