Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User creation and Role assignment which also contains Richard's Resource layer update #313

Merged
merged 76 commits into from
Aug 1, 2016

Conversation

66eli77
Copy link
Contributor

@66eli77 66eli77 commented Jul 29, 2016

this PR is uses the new Resource layer from #279, please move the conversation and future changes form #279 to this PR.

rtibbles and others added 25 commits July 16, 2016 02:28
…o role

Conflicts:
	kolibri/core/assets/src/api_resource.js
…its parent as prep.

because we probably won't adapt this component to other usage.
@@ -27,36 +27,140 @@ class Model {
this.synced = false;

// force IDs to always be strings - this should be changed on the server-side too
this.attributes[this.resource.idKey] = String(this.attributes[this.resource.idKey]);
if ('id' in data) {

This comment was marked as spam.

@66eli77 66eli77 added reviewing and removed work-in-progress Not ready for review labels Aug 1, 2016
model = new Model(data, this);
} else {
model = this.models[id];
return null;

This comment was marked as spam.

This comment was marked as spam.

@indirectlylit
Copy link
Contributor

@rtibbles @66eli77 I'd like to merge this in so that folks can continue to be working off it. However I also want to make sure that any outstanding comments are taken into account eventually. Creating this Trello card as a reminder: https://trello.com/c/3f5ogNYr/307-follow-up-on-resource-persistence-related-pr

@indirectlylit indirectlylit merged commit 2609547 into learningequality:master Aug 1, 2016
</div>
<div class="modal-body">
<slot name="body">
disappear in oblivion..

This comment was marked as spam.

@rtibbles rtibbles mentioned this pull request Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants