~evanj/cms

0ac69893cd1dd4e4cf2fa1498b99682d247e30cd — Evan M Jones a month ago 9d7fbcb
Feat(invites and roles): Users can now set roles while inviting others.
M internal/c/c.go => internal/c/c.go +2 -0
@@ 11,6 11,7 @@ import (
	"net/http"
	"strings"

	"git.sr.ht/~evanj/cms/internal/m/role"
	"git.sr.ht/~evanj/cms/internal/m/user"
	"git.sr.ht/~evanj/cms/internal/s/rl"
	"github.com/google/uuid"


@@ 148,6 149,7 @@ func (c *Controller) HTML(w http.ResponseWriter, r *http.Request, tmpl *template
	}

	data["Build"] = c.buildID
	data["Roles"] = role.Roles

	if err := tmpl.Execute(&buf, data); err != nil {
		c.log.Println(err)

M internal/c/invite/invite.go => internal/c/invite/invite.go +10 -3
@@ 10,6 10,7 @@ import (
	"git.sr.ht/~evanj/cms/internal/c"
	"git.sr.ht/~evanj/cms/internal/m/invite"
	"git.sr.ht/~evanj/cms/internal/m/org"
	"git.sr.ht/~evanj/cms/internal/m/role"
	"git.sr.ht/~evanj/cms/internal/m/user"
	"git.sr.ht/~evanj/cms/internal/v"
)


@@ 28,7 29,7 @@ type Invite struct {
}

type dber interface {
	InviteNew(u user.User, o org.Org) (invite.Invite, error)
	InviteNew(u user.User, o org.Org, r role.Role) (invite.Invite, error)
	InviteGetByToken(tok string) (invite.Invite, error)
	InviteAccept(i invite.Invite, u, p, v string) (user.User, invite.Invite, error)
	InviteList(u user.User, o org.Org) (r []invite.Invite, err error)


@@ 73,7 74,13 @@ func (i Invite) ServeHTTP(w http.ResponseWriter, r *http.Request) {
			return
		}

		_, err = i.db.InviteNew(user, user.Org())
		role, ok := role.ByName(r.FormValue("role"))
		if !ok {
			i.Error2(w, r, http.StatusBadRequest, errors.New("invalid role suppplied for invite"))
			return
		}

		_, err = i.db.InviteNew(user, user.Org(), role)
		if errors.Is(err, invite.ErrExpired) || errors.Is(err, invite.ErrUsed) {
			i.Error2(w, r, http.StatusBadRequest, err)
			return


@@ 95,7 102,7 @@ func (i Invite) ServeHTTP(w http.ResponseWriter, r *http.Request) {
		}

		inv, err := i.db.InviteGetByToken(r.FormValue("invite"))
		if err == nil {
		if err != nil {
			i.Error2(w, r, http.StatusBadRequest, err)
			return
		}

M internal/m/invite/invite.go => internal/m/invite/invite.go +2 -0
@@ 4,6 4,7 @@ import (
	"errors"

	"git.sr.ht/~evanj/cms/internal/m/org"
	"git.sr.ht/~evanj/cms/internal/m/role"
)

var (


@@ 16,4 17,5 @@ type Invite interface {
	Token() string
	Validate() error
	Org() org.Org
	Role() role.Role
}

M internal/m/role/role.go => internal/m/role/role.go +11 -0
@@ 145,4 145,15 @@ var (
		HookGet:        true,
		ContentGet:     true,
	}}

	Roles = []Role{Admin, Developer, Editor, Author, Contributor, Reader}
)

func ByName(n string) (Role, bool) {
	for _, t := range Roles {
		if t.Name == n {
			return t, true
		}
	}
	return Reader, false
}

M internal/s/db/db.go => internal/s/db/db.go +10 -1
@@ 1,12 1,15 @@
package db

import (
	"bytes"
	"database/sql"
	"html/template"
	"log"
	"sort"
	"strconv"
	"strings"

	"git.sr.ht/~evanj/cms/internal/m/role"
	"git.sr.ht/~evanj/cms/internal/m/valuetype"
	"git.sr.ht/~evanj/security"
	_ "github.com/go-sql-driver/mysql"


@@ 19,7 22,13 @@ func newMigrationSlice(m map[string]string) [][]string {
	i := 0

	for key, val := range m {
		migrations[i] = []string{key, val}
		buf := &bytes.Buffer{}
		// Yes. Fail on startup if we can't process migrations.
		template.Must(template.New(key).Parse(val)).Execute(buf, map[string]interface{}{
			"Roles": role.Roles,
		})

		migrations[i] = []string{key, buf.String()}
		i++
	}


M internal/s/db/invite.go => internal/s/db/invite.go +19 -11
@@ 8,6 8,7 @@ import (

	"git.sr.ht/~evanj/cms/internal/m/invite"
	"git.sr.ht/~evanj/cms/internal/m/org"
	"git.sr.ht/~evanj/cms/internal/m/role"
	"git.sr.ht/~evanj/cms/internal/m/user"
	"git.sr.ht/~evanj/security"
)


@@ 17,6 18,7 @@ type Invite struct {
	id, createdStr, expiresStr string
	used                       bool
	InviteOrg                  Org
	InviteRole                 Role
	// Set on get.
	created, expires time.Time
	tok              string


@@ 24,19 26,20 @@ type Invite struct {

var (
	queryCreate = `
		INSERT INTO cms_invite (EXPIRES, ORG_ID, USED) VALUES (?, ?, FALSE)
		INSERT INTO cms_invite (EXPIRES, ORG_ID, USED, ROLE_ID) VALUES (?, ?, FALSE, (SELECT cms_role.ID FROM cms_role WHERE VALUE=?))
	`

	queryGet = `
		SELECT cms_invite.ID, CREATED, EXPIRES, USED, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER 
		SELECT cms_invite.ID, CREATED, EXPIRES, USED, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER, cms_role.ID, cms_role.VALUE
		FROM cms_invite 
		JOIN cms_org ON cms_org.ID=cms_invite.ORG_ID
		JOIN cms_role ON cms_role.ID=cms_invite.ROLE_ID
		LEFT JOIN cms_billing ON cms_billing.ORG_ID=cms_org.ID
		WHERE cms_invite.ID=?
	`

	queryList = `
		SELECT ID FROM cms_invite WHERE ORG_ID=? AND EXPIRES < ? AND EXPIRES > ? AND USED=FALSE ORDER BY ID DESC
		SELECT ID FROM cms_invite WHERE ORG_ID=? AND EXPIRES > ? AND USED=FALSE ORDER BY ID DESC
	`

	queryUse = `


@@ 46,14 49,14 @@ var (
	mysqlTimeLayout = "2006-01-02 15:04:05"
)

func (db *DB) InviteNew(u user.User, o org.Org) (invite.Invite, error) {
func (db *DB) InviteNew(u user.User, o org.Org, r role.Role) (invite.Invite, error) {
	t, err := db.Begin()
	if err != nil {
		return nil, err
	}
	defer t.Rollback()

	i, err := db.inviteNew(t, o)
	i, err := db.inviteNew(t, o, r)
	if err != nil {
		return nil, err
	}


@@ 61,8 64,8 @@ func (db *DB) InviteNew(u user.User, o org.Org) (invite.Invite, error) {
	return i, t.Commit()
}

func (db *DB) inviteNew(t *sql.Tx, o org.Org) (invite.Invite, error) {
	res, err := t.Exec(queryCreate, time.Now().UTC().Add(1*time.Hour), o.ID())
func (db *DB) inviteNew(t *sql.Tx, o org.Org, r role.Role) (invite.Invite, error) {
	res, err := t.Exec(queryCreate, time.Now().UTC().Add(1*time.Hour), o.ID(), r.Name)
	if err != nil {
		return nil, err
	}


@@ 95,6 98,7 @@ func (db *DB) inviteGet(t *sql.Tx, id string) (invite.Invite, error) {
	if err := t.QueryRow(queryGet, id).Scan(
		&i.id, &i.createdStr, &i.expiresStr, &i.used,
		&i.InviteOrg.OrgID, &i.InviteOrg.OrgBillingTierName, &i.InviteOrg.OrgPaymentCustomer,
		&i.InviteRole.RoleID, &i.InviteRole.RoleName,
	); err != nil {
		return nil, err
	}


@@ 147,7 151,7 @@ func (db *DB) inviteAccept(t *sql.Tx, i invite.Invite, u, p, v string) (user.Use
		return nil, nil, err
	}

	if _, err := t.Exec(queryCreateNewUser, u, hash, i.Org().ID()); err != nil {
	if _, err := t.Exec(queryCreateNewUser, u, hash, i.Org().ID(), i.Role().Name); err != nil {
		return nil, nil, fmt.Errorf("user '%s' already exists", u)
	}



@@ 163,11 167,9 @@ func (db *DB) InviteList(u user.User, o org.Org) (r []invite.Invite, err error) 
	var (
		now  = time.Now().UTC()
		from = now.Format(mysqlTimeLayout)
		// Add a second here. Offset it slightly so user receives expected results.
		to = now.Add(1 * time.Hour).Add(1 * time.Second).Format(mysqlTimeLayout)
	)

	rows, err := db.Query(queryList, o.ID(), to, from)
	rows, err := db.Query(queryList, o.ID(), from)
	if err != nil {
		return nil, err
	}


@@ 236,6 238,12 @@ func (i Invite) ID() string    { return i.id }
func (i Invite) Token() string { return i.tok }
func (i Invite) Org() org.Org  { return i.InviteOrg }

func (i Invite) Role() role.Role {
	// NOTE: Guaranteed to have this set appropriately.
	r, _ := role.ByName(i.InviteRole.RoleName)
	return r
}

func (i Invite) Validate() error {
	if i.used {
		return invite.ErrUsed

M internal/s/db/migrations_embed.go => internal/s/db/migrations_embed.go +2 -0
@@ 28,6 28,8 @@ func init() {

	migrations["sql/00007.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gVEFCTEUgY21zX3VzZXIgQUREIENPTlNUUkFJTlQgQ01TX1VTRVJfUk9MRV9JRF9GSyBGT1JFSUdOIEtFWShST0xFX0lEKSBSRUZFUkVOQ0VTIGNtc19yb2xlKElEKTsK")

}

func Get(name string) (string, bool) {

A internal/s/db/role.go => internal/s/db/role.go +6 -0
@@ 0,0 1,6 @@
package db

type Role struct {
	RoleID   string
	RoleName string
}

A internal/s/db/sql/00008.sql => internal/s/db/sql/00008.sql +17 -0
@@ 0,0 1,17 @@
DELETE FROM cms_invite;

CREATE TABLE cms_role (
	ID INTEGER PRIMARY KEY AUTO_INCREMENT,
	VALUE varchar(256) UNIQUE NOT NULL
);

{{range .Roles}}
INSERT INTO cms_role (VALUE) values ("{{.Name}}");
{{end}}

ALTER TABLE cms_invite ADD ROLE_ID INTEGER NOT NULL;
ALTER TABLE cms_invite ADD CONSTRAINT CMS_INVITE_ROLE_ID_FK FOREIGN KEY(ROLE_ID) REFERENCES cms_role(ID);

ALTER TABLE cms_user ADD ROLE_ID INTEGER NOT NULL;
UPDATE cms_user SET ROLE_ID=(SELECT ID FROM cms_role WHERE VALUE="Admin");
ALTER TABLE cms_user ADD CONSTRAINT CMS_USER_ROLE_ID_FK FOREIGN KEY(ROLE_ID) REFERENCES cms_role(ID);

M internal/s/db/user.go => internal/s/db/user.go +21 -11
@@ 15,6 15,7 @@ type User struct {
	UserID    string
	UserName  string
	UserOrg   Org
	UserRole  Role
	userHash  string
	userEmail sql.NullString
	// Set on read.


@@ 24,21 25,23 @@ type User struct {
// SQL QUERIES

var (
	queryCreateNewUser = `INSERT INTO cms_user (NAME, HASH, ORG_ID) VALUES (?, ?, ?)`
	queryCreateNewUser = `INSERT INTO cms_user (NAME, HASH, ORG_ID, ROLE_ID) VALUES (?, ?, ?, (SELECT cms_role.ID FROM cms_role WHERE VALUE=?))`

	queryFindUserByID = `
		SELECT cms_user.ID, NAME, HASH, EMAIL, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER 
		SELECT cms_user.ID, NAME, HASH, EMAIL, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER, cms_role.ID, cms_role.VALUE
		FROM cms_user 
		JOIN cms_org ON cms_org.ID=cms_user.ORG_ID
		join cms_role ON cms_role.ID=cms_user.ROLE_ID
		LEFT JOIN cms_billing ON cms_billing.ORG_ID=cms_org.ID
		LEFT JOIN cms_email ON cms_email.USER_ID=cms_user.ID 
		WHERE cms_user.ID = ?
	`

	queryFindUserByName = `
		SELECT cms_user.ID, NAME, HASH, EMAIL, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER 
		SELECT cms_user.ID, NAME, HASH, EMAIL, cms_org.ID, cms_billing.TIER_NAME, cms_billing.PAYMENT_CUSTOMER, cms_role.ID, cms_role.VALUE
		FROM cms_user 
		JOIN cms_org ON cms_org.ID=cms_user.ORG_ID
		join cms_role ON cms_role.ID=cms_user.ROLE_ID
		LEFT JOIN cms_billing ON cms_billing.ORG_ID=cms_org.ID
		LEFT JOIN cms_email ON cms_email.USER_ID=cms_user.ID 
		WHERE NAME = ?


@@ 88,7 91,7 @@ func (db *DB) userNew(t *sql.Tx, username, password, verifyPassword string) (use
		return nil, err
	}

	if _, err := t.Exec(queryCreateNewUser, username, hash, org.ID()); err != nil {
	if _, err := t.Exec(queryCreateNewUser, username, hash, org.ID(), role.Admin.Name); err != nil {
		return nil, fmt.Errorf("user '%s' already exists", username)
	}



@@ 115,6 118,7 @@ func (db *DB) userGet(t *sql.Tx, username, password string) (user.User, error) {
	if err := t.QueryRow(queryFindUserByName, username).Scan(
		&user.UserID, &user.UserName, &user.userHash, &user.userEmail,
		&user.UserOrg.OrgID, &user.UserOrg.OrgBillingTierName, &user.UserOrg.OrgPaymentCustomer,
		&user.UserRole.RoleID, &user.UserRole.RoleName,
	); err != nil {
		return nil, fmt.Errorf("failed to find user '%s'", username)
	}


@@ 147,6 151,7 @@ func (db *DB) UserGetFromToken(token string) (user.User, error) {
	if err := db.QueryRow(queryFindUserByID, id).Scan(
		&user.UserID, &user.UserName, &user.userHash, &user.userEmail,
		&user.UserOrg.OrgID, &user.UserOrg.OrgBillingTierName, &user.UserOrg.OrgPaymentCustomer,
		&user.UserRole.RoleID, &user.UserRole.RoleName,
	); err != nil {

		fmt.Println(err)


@@ 202,10 207,15 @@ func (db *DB) UserSetPassword(u user.User, current, password, verifyPassword str
	return db.UserGet(u.Name(), password)
}

func (u *User) ID() string      { return u.UserID }
func (u *User) Name() string    { return u.UserName }
func (u *User) Token() string   { return u.userToken }
func (u *User) Org() org.Org    { return u.UserOrg }
func (u *User) HasEmail() bool  { return u.userEmail.Valid }
func (u *User) Email() string   { return u.userEmail.String }
func (u *User) Role() role.Role { return role.Admin } // TODO: Actual impl.
func (u *User) ID() string     { return u.UserID }
func (u *User) Name() string   { return u.UserName }
func (u *User) Token() string  { return u.userToken }
func (u *User) Org() org.Org   { return u.UserOrg }
func (u *User) HasEmail() bool { return u.userEmail.Valid }
func (u *User) Email() string  { return u.userEmail.String }

func (u *User) Role() role.Role {
	// NOTE: Guaranteed to have this set appropriately.
	r, _ := role.ByName(u.UserRole.RoleName)
	return r
}

M internal/s/rbac/rbac.go => internal/s/rbac/rbac.go +2 -2
@@ 74,9 74,9 @@ func (rbac RBAC) SpaceDelete(user user.User, space space.Space) error {

// INVITE

func (rbac RBAC) InviteNew(u user.User, o org.Org) (invite.Invite, error) {
func (rbac RBAC) InviteNew(u user.User, o org.Org, r role.Role) (invite.Invite, error) {
	if u.Role().Can(role.InviteCreate) {
		return rbac.db.InviteNew(u, o)
		return rbac.db.InviteNew(u, o, r)
	}
	return nil, role.ErrNoPermission
}

M internal/s/rl/rl.go => internal/s/rl/rl.go +4 -3
@@ 12,6 12,7 @@ import (
	"git.sr.ht/~evanj/cms/internal/m/contenttype"
	"git.sr.ht/~evanj/cms/internal/m/invite"
	"git.sr.ht/~evanj/cms/internal/m/org"
	"git.sr.ht/~evanj/cms/internal/m/role"
	"git.sr.ht/~evanj/cms/internal/m/space"
	"git.sr.ht/~evanj/cms/internal/m/tier"
	"git.sr.ht/~evanj/cms/internal/m/user"


@@ 176,11 177,11 @@ func (rl RL) ContentTypeUpdate(u user.User, space space.Space, contenttype conte

// Rate limit users to org.

func (rl RL) InviteNew(u user.User, o org.Org) (invite.Invite, error) {
func (rl RL) InviteNew(u user.User, o org.Org, r role.Role) (invite.Invite, error) {
	limit, ok := userLimits[o.Tier().Name]
	if !ok {
		// If not in map, unlimited.
		return rl.db.InviteNew(u, o)
		return rl.db.InviteNew(u, o, r)
	}

	c, err := rl.db.OrgGetUserCount(o)


@@ 192,7 193,7 @@ func (rl RL) InviteNew(u user.User, o org.Org) (invite.Invite, error) {
		return nil, fmt.Errorf("can't invite new users: %w", ErrHitLimit)
	}

	return rl.db.InviteNew(u, o)
	return rl.db.InviteNew(u, o, r)
}

func (rl RL) InviteAccept(i invite.Invite, u, p, v string) (user.User, invite.Invite, error) {

M internal/v/html/_footer.html => internal/v/html/_footer.html +11 -0
@@ 91,6 91,17 @@
          <p>We'll generate a special link for you. Send this to your friend, 
          coworker, or whoever!</p>
          <p>The invite will only be active for one hour.</p>
          <div class='form-group row'>
            <div class='col-12'>
              <label for=role>User's desired role</label>
              <select id=role class="w-100 form-control" name=role required>
                <option disabled value>Role</option>
                {{range .Roles}}
                <option value="{{.Name}}">{{.Name}}</option>
                {{end}}
              </select>
            </div>
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>

M internal/v/tmpls_embed.go => internal/v/tmpls_embed.go +1 -1
@@ 20,7 20,7 @@ func init() {

	tmpls["css/mvp.css"] = tostring("OnJvb3QgewogICAgLS1ib3JkZXItcmFkaXVzOiA1cHg7CiAgICAtLWJveC1zaGFkb3c6IDJweCAycHggMTBweDsKICAgIC0tY29sb3I6ICMxMThiZWU7CiAgICAtLWNvbG9yLWFjY2VudDogIzExOGJlZTBiOwogICAgLS1jb2xvci1iZzogI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