Forumindlæg af Howard Miller

Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
...although, in this case, it probably demonstrates that folder permissions are not the issue. Exactly what permissions are appropriate depend on individual circumstances.

As an aside, this is why I have been known to say that spending a couple of hours learning about Linux ownership and permissions is time very well spent.
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
Hmmm.... I'm not sure if this is what you meant but the default storage for session data is in the 'moodledata' files area. A database table is still needed to link (iirc) the cookie identifier to the user id but the actual sesssion data field will be empty.

My recommendation would be to spin up a Redis instance to use for sessions. The config settings for that need to go in config.php (see config-dist.php).
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers
I just did a very similar thing using Vue - but it's the same idea.

I wrote a new local Moodle plugin that exports all the functionality that I required. I ended up with something over 50 new web services.

It all worked quite well, as it's quite straightforward to unit test web services (using the Moodle phpunit implementation). So I was pretty sure I had working web services before I implemented the Vue bit.

I should say that there's work being done on 'V2' of web services. There's little or no documentation at the moment but it's something I would want to consider before spending loads of dev time on new web services.
Gennemsnitsbedømmelse:Useful (1)
Billede af Core developers Billede af Documentation writers Billede af Particularly helpful Moodlers Billede af Peer reviewers Billede af Plugin developers

As far as I can see, the only parameters core_course_get_courses permits is a list of course ids.  Why do you think this should work with custom course fields?

Caveat: I don't have Moodle 5.0 handy to check the docs for the function, only 4.5. It may have changed.