Skip to content

Instantly share code, notes, and snippets.

View DerStoffel's full-sized avatar

Christoph Nißle DerStoffel

View GitHub Profile
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
}
match /restaurants/{restaurant} {
allow get, list, create: if true;
allow update, delete: if request.auth != null;
}
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
}
match /restaurants/{restaurant} {
allow get, list, create: if true;
allow update, delete: if false;
}
@DerStoffel
DerStoffel / firestore.rules
Last active January 14, 2022 08:14
Create Access Rules
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
}
}
}
@DerStoffel
DerStoffel / firestore.rules
Created January 14, 2022 08:09
Firestore Security Rules schema
service cloud.firestore {
match /databases/{database}/documents {
match /<some_path>/ {
allow read, write: if <some_condition>;
}
}
}
@DerStoffel
DerStoffel / keybase.md
Created January 31, 2019 14:39
keybase.md

Keybase proof

I hereby claim:

  • I am derstoffel on github.
  • I am derstoffel (https://keybase.io/derstoffel) on keybase.
  • I have a public key ASD0PkN0fgItM8bcDXqUjC3Wb3PaJwTIiT6cXxFTRw5ysgo

To claim this, I am signing this object:

"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
CALENDAR
============
ID | OWNER_ID
-------------
1 | 1
2 | 2
EVENT
=====
private $qb;
function __construct($qb) {
$this->qb = $qb;
}
public function buildForm(FormBuilder $builder, array $options) {
$builder->add('folder', 'entity', array('class' => 'PAPP\MessageBundle\Entity\Folder',
'multiple' => false,
'required' => true,